diff options
Diffstat (limited to 'arch/tile/kernel/messaging.c')
-rw-r--r-- | arch/tile/kernel/messaging.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/tile/kernel/messaging.c b/arch/tile/kernel/messaging.c index f991f5285d8a..6d23ed271d10 100644 --- a/arch/tile/kernel/messaging.c +++ b/arch/tile/kernel/messaging.c | |||
@@ -18,13 +18,14 @@ | |||
18 | #include <linux/ptrace.h> | 18 | #include <linux/ptrace.h> |
19 | #include <asm/hv_driver.h> | 19 | #include <asm/hv_driver.h> |
20 | #include <asm/irq_regs.h> | 20 | #include <asm/irq_regs.h> |
21 | #include <asm/traps.h> | ||
21 | #include <hv/hypervisor.h> | 22 | #include <hv/hypervisor.h> |
22 | #include <arch/interrupts.h> | 23 | #include <arch/interrupts.h> |
23 | 24 | ||
24 | /* All messages are stored here */ | 25 | /* All messages are stored here */ |
25 | static DEFINE_PER_CPU(HV_MsgState, msg_state); | 26 | static DEFINE_PER_CPU(HV_MsgState, msg_state); |
26 | 27 | ||
27 | void __cpuinit init_messaging() | 28 | void __cpuinit init_messaging(void) |
28 | { | 29 | { |
29 | /* Allocate storage for messages in kernel space */ | 30 | /* Allocate storage for messages in kernel space */ |
30 | HV_MsgState *state = &__get_cpu_var(msg_state); | 31 | HV_MsgState *state = &__get_cpu_var(msg_state); |
@@ -58,7 +59,7 @@ void hv_message_intr(struct pt_regs *regs, int intnum) | |||
58 | { | 59 | { |
59 | long sp = stack_pointer - (long) current_thread_info(); | 60 | long sp = stack_pointer - (long) current_thread_info(); |
60 | if (unlikely(sp < (sizeof(struct thread_info) + STACK_WARN))) { | 61 | if (unlikely(sp < (sizeof(struct thread_info) + STACK_WARN))) { |
61 | printk(KERN_EMERG "hv_message_intr: " | 62 | pr_emerg("hv_message_intr: " |
62 | "stack overflow: %ld\n", | 63 | "stack overflow: %ld\n", |
63 | sp - sizeof(struct thread_info)); | 64 | sp - sizeof(struct thread_info)); |
64 | dump_stack(); | 65 | dump_stack(); |