x86, bts: turn macro into static inline function

Impact: cleanup

Replace a macro with a static inline function.

Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

authored by Markus Metzger and committed by Ingo Molnar e5e8ca63 292c669c

+4 -2
+4 -2
arch/x86/include/asm/ds.h
··· 23 23 #ifndef _ASM_X86_DS_H 24 24 #define _ASM_X86_DS_H 25 25 26 - #ifdef CONFIG_X86_DS 27 26 28 27 #include <linux/types.h> 29 28 #include <linux/init.h> 30 29 30 + 31 + #ifdef CONFIG_X86_DS 31 32 32 33 struct task_struct; 33 34 ··· 233 232 234 233 #else /* CONFIG_X86_DS */ 235 234 236 - #define ds_init_intel(config) do {} while (0) 235 + struct cpuinfo_x86; 236 + static inline void __cpuinit ds_init_intel(struct cpuinfo_x86 *ignored) {} 237 237 238 238 #endif /* CONFIG_X86_DS */ 239 239 #endif /* _ASM_X86_DS_H */