Skip to content

Commit

Permalink
include/asm-x86/smp_64.h: checkpatch cleanups - formatting only
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Joe Perches authored and Ingo Molnar committed Apr 17, 2008
1 parent 2fec394 commit ceb7ce1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/asm-x86/smp_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ extern int smp_call_function_mask(cpumask_t mask, void (*func)(void *),
#define raw_smp_processor_id() read_pda(cpunumber)

#define stack_smp_processor_id() \
({ \
({ \
struct thread_info *ti; \
__asm__("andq %%rsp,%0; ":"=r" (ti) : "0" (CURRENT_MASK)); \
asm("andq %%rsp,%0; ":"=r" (ti) : "0" (CURRENT_MASK)); \
ti->cpu; \
})

Expand All @@ -46,7 +46,7 @@ static inline int num_booting_cpus(void)

#define safe_smp_processor_id() smp_processor_id()

static __inline int logical_smp_processor_id(void)
static inline int logical_smp_processor_id(void)
{
/* we don't want to mark this access volatile - bad code generation */
return GET_APIC_LOGICAL_ID(*(u32 *)(APIC_BASE + APIC_LDR));
Expand Down

0 comments on commit ceb7ce1

Please sign in to comment.