diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 2 | ||||
-rw-r--r-- | init/do_mounts.c | 2 | ||||
-rw-r--r-- | init/main.c | 3 |
3 files changed, 2 insertions, 5 deletions
diff --git a/init/Kconfig b/init/Kconfig index 75755ef50c89..05a75c4f5ce2 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -231,7 +231,7 @@ config CPUSETS | |||
231 | bool "Cpuset support" | 231 | bool "Cpuset support" |
232 | depends on SMP | 232 | depends on SMP |
233 | help | 233 | help |
234 | This options will let you create and manage CPUSET's which | 234 | This option will let you create and manage CPUSETs which |
235 | allow dynamically partitioning a system into sets of CPUs and | 235 | allow dynamically partitioning a system into sets of CPUs and |
236 | Memory Nodes and assigning tasks to run only within those sets. | 236 | Memory Nodes and assigning tasks to run only within those sets. |
237 | This is primarily useful on large SMP or NUMA systems. | 237 | This is primarily useful on large SMP or NUMA systems. |
diff --git a/init/do_mounts.c b/init/do_mounts.c index 1b02be734ccc..4e11a9aaf14a 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c | |||
@@ -26,8 +26,6 @@ static char __initdata saved_root_name[64]; | |||
26 | /* this is initialized in init/main.c */ | 26 | /* this is initialized in init/main.c */ |
27 | dev_t ROOT_DEV; | 27 | dev_t ROOT_DEV; |
28 | 28 | ||
29 | EXPORT_SYMBOL(ROOT_DEV); | ||
30 | |||
31 | static int __init load_ramdisk(char *str) | 29 | static int __init load_ramdisk(char *str) |
32 | { | 30 | { |
33 | rd_doload = simple_strtol(str,NULL,0) & 3; | 31 | rd_doload = simple_strtol(str,NULL,0) & 3; |
diff --git a/init/main.c b/init/main.c index b5e421e39ede..c9c311cf1771 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -51,6 +51,7 @@ | |||
51 | #include <asm/io.h> | 51 | #include <asm/io.h> |
52 | #include <asm/bugs.h> | 52 | #include <asm/bugs.h> |
53 | #include <asm/setup.h> | 53 | #include <asm/setup.h> |
54 | #include <asm/sections.h> | ||
54 | 55 | ||
55 | /* | 56 | /* |
56 | * This is one of the first .c files built. Error out early | 57 | * This is one of the first .c files built. Error out early |
@@ -323,8 +324,6 @@ static void __init setup_per_cpu_areas(void) | |||
323 | { | 324 | { |
324 | unsigned long size, i; | 325 | unsigned long size, i; |
325 | char *ptr; | 326 | char *ptr; |
326 | /* Created by linker magic */ | ||
327 | extern char __per_cpu_start[], __per_cpu_end[]; | ||
328 | 327 | ||
329 | /* Copy section for each CPU (we discard the original) */ | 328 | /* Copy section for each CPU (we discard the original) */ |
330 | size = ALIGN(__per_cpu_end - __per_cpu_start, SMP_CACHE_BYTES); | 329 | size = ALIGN(__per_cpu_end - __per_cpu_start, SMP_CACHE_BYTES); |