diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-07-03 13:49:45 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-07-03 13:49:45 -0400 |
commit | 026477c1141b67e98e3bd8bdedb7d4b88a3ecd09 (patch) | |
tree | 2624a44924c625c367f3cebf937853b9da2de282 /init/main.c | |
parent | 9f2fa466383ce100b90fe52cb4489d7a26bf72a9 (diff) | |
parent | 29454dde27d8e340bb1987bad9aa504af7081eba (diff) |
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
Diffstat (limited to 'init/main.c')
-rw-r--r-- | init/main.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/init/main.c b/init/main.c index 0d57f6ccb63a..b2f3b566790e 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -11,11 +11,9 @@ | |||
11 | 11 | ||
12 | #define __KERNEL_SYSCALLS__ | 12 | #define __KERNEL_SYSCALLS__ |
13 | 13 | ||
14 | #include <linux/config.h> | ||
15 | #include <linux/types.h> | 14 | #include <linux/types.h> |
16 | #include <linux/module.h> | 15 | #include <linux/module.h> |
17 | #include <linux/proc_fs.h> | 16 | #include <linux/proc_fs.h> |
18 | #include <linux/devfs_fs_kernel.h> | ||
19 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
20 | #include <linux/syscalls.h> | 18 | #include <linux/syscalls.h> |
21 | #include <linux/string.h> | 19 | #include <linux/string.h> |
@@ -447,10 +445,17 @@ static void __init boot_cpu_init(void) | |||
447 | cpu_set(cpu, cpu_possible_map); | 445 | cpu_set(cpu, cpu_possible_map); |
448 | } | 446 | } |
449 | 447 | ||
448 | void __init __attribute__((weak)) smp_setup_processor_id(void) | ||
449 | { | ||
450 | } | ||
451 | |||
450 | asmlinkage void __init start_kernel(void) | 452 | asmlinkage void __init start_kernel(void) |
451 | { | 453 | { |
452 | char * command_line; | 454 | char * command_line; |
453 | extern struct kernel_param __start___param[], __stop___param[]; | 455 | extern struct kernel_param __start___param[], __stop___param[]; |
456 | |||
457 | smp_setup_processor_id(); | ||
458 | |||
454 | /* | 459 | /* |
455 | * Interrupts are still disabled. Do necessary setups, then | 460 | * Interrupts are still disabled. Do necessary setups, then |
456 | * enable them | 461 | * enable them |