projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79f1d83
)
x86: Remove unused function cpu_has_ht_siblings()
author
Juergen Gross
<jgross@suse.com>
Tue, 17 Nov 2015 12:05:43 +0000
(13:05 +0100)
committer
Thomas Gleixner
<tglx@linutronix.de>
Tue, 17 Nov 2015 14:40:17 +0000
(15:40 +0100)
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>
arch/x86/include/asm/smp.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/include/asm/smp.h
b/arch/x86/include/asm/smp.h
index 222a6a3ca2b5ebeeff21037b8a3b517b8fd3353a..a438c5598a9053f81e4f22838833b2065209680b 100644
(file)
--- 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: */