summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/smp.h
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2015-11-17 13:05:43 +0100
committerThomas Gleixner <tglx@linutronix.de>2015-11-17 15:40:17 +0100
commited29210cd6a67425026e78aa298fa434e11a74e3 (patch)
tree8ff60dc32f30d562358bed44e86c587c82392c1d /arch/x86/include/asm/smp.h
parent79f1d836925c545b4612f7ed19423f0950978b5e (diff)
downloadlinux-0-day-ed29210cd6a67425026e78aa298fa434e11a74e3.tar.gz
linux-0-day-ed29210cd6a67425026e78aa298fa434e11a74e3.tar.xz
x86: Remove unused function cpu_has_ht_siblings()
It is used nowhere. Signed-off-by: Juergen Gross <jgross@suse.com> Link: http://lkml.kernel.org/r/1447761943-770-1-git-send-email-jgross@suse.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/include/asm/smp.h')
-rw-r--r--arch/x86/include/asm/smp.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/x86/include/asm/smp.h b/arch/x86/include/asm/smp.h
index 222a6a3ca2b5e..a438c5598a905 100644
--- a/arch/x86/include/asm/smp.h
+++ b/arch/x86/include/asm/smp.h
@@ -21,15 +21,6 @@
extern int smp_num_siblings;
extern unsigned int num_processors;
-static inline bool cpu_has_ht_siblings(void)
-{
- bool has_siblings = false;
-#ifdef CONFIG_SMP
- has_siblings = cpu_has_ht && smp_num_siblings > 1;
-#endif
- return has_siblings;
-}
-
DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_sibling_map);
DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_core_map);
/* cpus sharing the last level cache: */