Skip to content

Commit

Permalink
ARM: 7697/1: hw_breakpoint: do not use __cpuinitdata for dbg_cpu_pm_nb
Browse files Browse the repository at this point in the history
We must not declare dbg_cpu_pm_nb as __cpuinitdata as we need it after
system initialization for Suspend and CPUIdle.

This was done in commit 9a6eb31 ("ARM: hw_breakpoint: Debug powerdown
support for self-hosted debug").

Cc: [email protected]
Cc: Dietmar Eggemann <[email protected]>
Signed-off-by: Bastian Hecht <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Russell King <[email protected]>
  • Loading branch information
hechtb authored and Russell King committed Apr 17, 2013
1 parent cd272d1 commit 50acff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/kernel/hw_breakpoint.c
Original file line number Diff line number Diff line change
@@ -1043,7 +1043,7 @@ static int dbg_cpu_pm_notify(struct notifier_block *self, unsigned long action,
return NOTIFY_OK;
}

static struct notifier_block __cpuinitdata dbg_cpu_pm_nb = {
static struct notifier_block dbg_cpu_pm_nb = {
.notifier_call = dbg_cpu_pm_notify,
};

0 comments on commit 50acff3

Please sign in to comment.