diff options
author | Joe Perches <joe@perches.com> | 2008-03-23 04:03:30 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:27 -0400 |
commit | ceb7ce1052a9087bd4752424f253b883ec5e1cec (patch) | |
tree | 95bd8e4e76bf2f5443b384f3ac32e6d42047581e | |
parent | 2fec394adf9445ae6a21c5e67d9ad3f6f5b7c8d1 (diff) |
include/asm-x86/smp_64.h: checkpatch cleanups - formatting only
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | include/asm-x86/smp_64.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-x86/smp_64.h b/include/asm-x86/smp_64.h index fd709cbba4d1..c53a011bb91c 100644 --- a/include/asm-x86/smp_64.h +++ b/include/asm-x86/smp_64.h | |||
@@ -24,9 +24,9 @@ extern int smp_call_function_mask(cpumask_t mask, void (*func)(void *), | |||
24 | #define raw_smp_processor_id() read_pda(cpunumber) | 24 | #define raw_smp_processor_id() read_pda(cpunumber) |
25 | 25 | ||
26 | #define stack_smp_processor_id() \ | 26 | #define stack_smp_processor_id() \ |
27 | ({ \ | 27 | ({ \ |
28 | struct thread_info *ti; \ | 28 | struct thread_info *ti; \ |
29 | __asm__("andq %%rsp,%0; ":"=r" (ti) : "0" (CURRENT_MASK)); \ | 29 | asm("andq %%rsp,%0; ":"=r" (ti) : "0" (CURRENT_MASK)); \ |
30 | ti->cpu; \ | 30 | ti->cpu; \ |
31 | }) | 31 | }) |
32 | 32 | ||
@@ -46,7 +46,7 @@ static inline int num_booting_cpus(void) | |||
46 | 46 | ||
47 | #define safe_smp_processor_id() smp_processor_id() | 47 | #define safe_smp_processor_id() smp_processor_id() |
48 | 48 | ||
49 | static __inline int logical_smp_processor_id(void) | 49 | static inline int logical_smp_processor_id(void) |
50 | { | 50 | { |
51 | /* we don't want to mark this access volatile - bad code generation */ | 51 | /* we don't want to mark this access volatile - bad code generation */ |
52 | return GET_APIC_LOGICAL_ID(*(u32 *)(APIC_BASE + APIC_LDR)); | 52 | return GET_APIC_LOGICAL_ID(*(u32 *)(APIC_BASE + APIC_LDR)); |