projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'perf-tools-for-v5.15-2021-09-11' of git://git.kernel.org/pub/scm/linux...
[linux-2.6-microblaze.git]
/
arch
/
x86
/
kernel
/
cpu
/
cacheinfo.c
diff --git
a/arch/x86/kernel/cpu/cacheinfo.c
b/arch/x86/kernel/cpu/cacheinfo.c
index
d66af29
..
b5e36bd
100644
(file)
--- a/
arch/x86/kernel/cpu/cacheinfo.c
+++ b/
arch/x86/kernel/cpu/cacheinfo.c
@@
-985,7
+985,7
@@
static void ci_leaf_init(struct cacheinfo *this_leaf,
this_leaf->priv = base->nb;
}
this_leaf->priv = base->nb;
}
-
static int __
init_cache_level(unsigned int cpu)
+
int
init_cache_level(unsigned int cpu)
{
struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu);
{
struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu);
@@
-1014,7
+1014,7
@@
static void get_cache_id(int cpu, struct _cpuid4_info_regs *id4_regs)
id4_regs->id = c->apicid >> index_msb;
}
id4_regs->id = c->apicid >> index_msb;
}
-
static int __
populate_cache_leaves(unsigned int cpu)
+
int
populate_cache_leaves(unsigned int cpu)
{
unsigned int idx, ret;
struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu);
{
unsigned int idx, ret;
struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu);
@@
-1033,6
+1033,3
@@
static int __populate_cache_leaves(unsigned int cpu)
return 0;
}
return 0;
}
-
-DEFINE_SMP_CALL_CACHE_FUNCTION(init_cache_level)
-DEFINE_SMP_CALL_CACHE_FUNCTION(populate_cache_leaves)