Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259153
b: refs/heads/master
c: 77c2342
h: refs/heads/master
i:
  259151: a7c242d
v: v3
  • Loading branch information
Dmitry Eremin-Solenikov authored and Benjamin Herrenschmidt committed Jul 19, 2011
1 parent a85a2f6 commit 11dbd95
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0e0ebdb9c2ba7b56a82ba36d29ab3d8cb99de9e7
refs/heads/master: 77c2342a578c11f22a1003e641f50d138dd9833a
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/kernel/mpc7450-pmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ struct power_pmu mpc7450_pmu = {
.cache_events = &mpc7450_cache_events,
};

static int init_mpc7450_pmu(void)
static int __init init_mpc7450_pmu(void)
{
if (!cur_cpu_spec->oprofile_cpu_type ||
strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc/7450"))
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,7 @@ power_pmu_notifier(struct notifier_block *self, unsigned long action, void *hcpu
return NOTIFY_OK;
}

int register_power_pmu(struct power_pmu *pmu)
int __cpuinit register_power_pmu(struct power_pmu *pmu)
{
if (ppmu)
return -EBUSY; /* something's already registered */
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/kernel/power4-pmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/kernel/power5+-pmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ static struct power_pmu power5p_pmu = {
.cache_events = &power5p_cache_events,
};

static int init_power5p_pmu(void)
static int __init init_power5p_pmu(void)
{
if (!cur_cpu_spec->oprofile_cpu_type ||
(strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc64/power5+")
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/kernel/power5-pmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ static struct power_pmu power5_pmu = {
.cache_events = &power5_cache_events,
};

static int init_power5_pmu(void)
static int __init init_power5_pmu(void)
{
if (!cur_cpu_spec->oprofile_cpu_type ||
strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc64/power5"))
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/kernel/power6-pmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ static struct power_pmu power6_pmu = {
.cache_events = &power6_cache_events,
};

static int init_power6_pmu(void)
static int __init init_power6_pmu(void)
{
if (!cur_cpu_spec->oprofile_cpu_type ||
strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc64/power6"))
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/kernel/power7-pmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ static struct power_pmu power7_pmu = {
.cache_events = &power7_cache_events,
};

static int init_power7_pmu(void)
static int __init init_power7_pmu(void)
{
if (!cur_cpu_spec->oprofile_cpu_type ||
strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc64/power7"))
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/kernel/ppc970-pmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ static struct power_pmu ppc970_pmu = {
.cache_events = &ppc970_cache_events,
};

static int init_ppc970_pmu(void)
static int __init init_ppc970_pmu(void)
{
if (!cur_cpu_spec->oprofile_cpu_type ||
(strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc64/970")
Expand Down

0 comments on commit 11dbd95

Please sign in to comment.