x86/smp: Remove stack_smp_processor_id()
[deliverable/linux.git] / arch / x86 / include / asm / smp.h
index 66b057306f404718c233c18c5603ec30e9e535ba..0576b6157f3ae302818aa67f2feb41c47c601e0a 100644 (file)
@@ -172,12 +172,6 @@ extern int safe_smp_processor_id(void);
 #elif defined(CONFIG_X86_64_SMP)
 #define raw_smp_processor_id() (this_cpu_read(cpu_number))
 
-#define stack_smp_processor_id()                                       \
-({                                                             \
-       struct thread_info *ti;                                         \
-       __asm__("andq %%rsp,%0; ":"=r" (ti) : "0" (CURRENT_MASK));      \
-       ti->cpu;                                                        \
-})
 #define safe_smp_processor_id()                smp_processor_id()
 
 #endif
This page took 0.023442 seconds and 5 git commands to generate.