diff options
| author | Ingo Molnar <mingo@elte.hu> | 2008-07-28 15:14:43 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-07-28 15:14:43 -0400 |
| commit | 414f746d232d41ed6ae8632c4495ae795373c44b (patch) | |
| tree | 167f9bc8f139c6e82e6732b38c7a938b8a9d31cd /kernel/smp.c | |
| parent | 5a7a201c51c324876d00a54e7208af6af12d1ca4 (diff) | |
| parent | c9272c4f9fbe2087beb3392f526dc5b19efaa56b (diff) | |
Merge branch 'linus' into cpus4096
Diffstat (limited to 'kernel/smp.c')
| -rw-r--r-- | kernel/smp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/smp.c b/kernel/smp.c index 462c785ca1ee..96fc7c0edc59 100644 --- a/kernel/smp.c +++ b/kernel/smp.c | |||
| @@ -33,7 +33,7 @@ struct call_single_queue { | |||
| 33 | spinlock_t lock; | 33 | spinlock_t lock; |
| 34 | }; | 34 | }; |
| 35 | 35 | ||
| 36 | void __cpuinit init_call_single_data(void) | 36 | static int __cpuinit init_call_single_data(void) |
| 37 | { | 37 | { |
| 38 | int i; | 38 | int i; |
| 39 | 39 | ||
| @@ -43,7 +43,9 @@ void __cpuinit init_call_single_data(void) | |||
| 43 | spin_lock_init(&q->lock); | 43 | spin_lock_init(&q->lock); |
| 44 | INIT_LIST_HEAD(&q->list); | 44 | INIT_LIST_HEAD(&q->list); |
| 45 | } | 45 | } |
| 46 | return 0; | ||
| 46 | } | 47 | } |
| 48 | early_initcall(init_call_single_data); | ||
| 47 | 49 | ||
| 48 | static void csd_flag_wait(struct call_single_data *data) | 50 | static void csd_flag_wait(struct call_single_data *data) |
| 49 | { | 51 | { |
