diff options
Diffstat (limited to 'arch/arm64/kernel/debug-monitors.c')
-rw-r--r-- | arch/arm64/kernel/debug-monitors.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm64/kernel/debug-monitors.c b/arch/arm64/kernel/debug-monitors.c index 08018e3df580..cbfacf7fb438 100644 --- a/arch/arm64/kernel/debug-monitors.c +++ b/arch/arm64/kernel/debug-monitors.c | |||
@@ -141,7 +141,7 @@ static void clear_os_lock(void *unused) | |||
141 | isb(); | 141 | isb(); |
142 | } | 142 | } |
143 | 143 | ||
144 | static int __cpuinit os_lock_notify(struct notifier_block *self, | 144 | static int os_lock_notify(struct notifier_block *self, |
145 | unsigned long action, void *data) | 145 | unsigned long action, void *data) |
146 | { | 146 | { |
147 | int cpu = (unsigned long)data; | 147 | int cpu = (unsigned long)data; |
@@ -150,11 +150,11 @@ static int __cpuinit os_lock_notify(struct notifier_block *self, | |||
150 | return NOTIFY_OK; | 150 | return NOTIFY_OK; |
151 | } | 151 | } |
152 | 152 | ||
153 | static struct notifier_block __cpuinitdata os_lock_nb = { | 153 | static struct notifier_block os_lock_nb = { |
154 | .notifier_call = os_lock_notify, | 154 | .notifier_call = os_lock_notify, |
155 | }; | 155 | }; |
156 | 156 | ||
157 | static int __cpuinit debug_monitors_init(void) | 157 | static int debug_monitors_init(void) |
158 | { | 158 | { |
159 | /* Clear the OS lock. */ | 159 | /* Clear the OS lock. */ |
160 | smp_call_function(clear_os_lock, NULL, 1); | 160 | smp_call_function(clear_os_lock, NULL, 1); |