projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc: Correct annotations of pmu registration functions
[cascardo/linux.git]
/
arch
/
powerpc
/
kernel
/
power4-pmu.c
diff --git
a/arch/powerpc/kernel/power4-pmu.c
b/arch/powerpc/kernel/power4-pmu.c
index
ead8b3c
..
4eb7095
100644
(file)
--- a/
arch/powerpc/kernel/power4-pmu.c
+++ b/
arch/powerpc/kernel/power4-pmu.c
@@
-604,7
+604,7
@@
static struct power_pmu power4_pmu = {
.cache_events = &power4_cache_events,
};
-static int init_power4_pmu(void)
+static int
__init
init_power4_pmu(void)
{
if (!cur_cpu_spec->oprofile_cpu_type ||
strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc64/power4"))