diff options
Diffstat (limited to 'arch/ia64/kernel')
-rw-r--r-- | arch/ia64/kernel/dma-mapping.c | 4 | ||||
-rw-r--r-- | arch/ia64/kernel/head.S | 1 | ||||
-rw-r--r-- | arch/ia64/kernel/head.h | 1 | ||||
-rw-r--r-- | arch/ia64/kernel/process.c | 9 |
4 files changed, 14 insertions, 1 deletions
diff --git a/arch/ia64/kernel/dma-mapping.c b/arch/ia64/kernel/dma-mapping.c index 39a3cd0a4173..f2c1600da097 100644 --- a/arch/ia64/kernel/dma-mapping.c +++ b/arch/ia64/kernel/dma-mapping.c | |||
@@ -10,7 +10,9 @@ EXPORT_SYMBOL(dma_ops); | |||
10 | 10 | ||
11 | static int __init dma_init(void) | 11 | static int __init dma_init(void) |
12 | { | 12 | { |
13 | dma_debug_init(PREALLOC_DMA_DEBUG_ENTRIES); | 13 | dma_debug_init(PREALLOC_DMA_DEBUG_ENTRIES); |
14 | |||
15 | return 0; | ||
14 | } | 16 | } |
15 | fs_initcall(dma_init); | 17 | fs_initcall(dma_init); |
16 | 18 | ||
diff --git a/arch/ia64/kernel/head.S b/arch/ia64/kernel/head.S index 23f846de62d5..e6c5c3d5e1f8 100644 --- a/arch/ia64/kernel/head.S +++ b/arch/ia64/kernel/head.S | |||
@@ -34,6 +34,7 @@ | |||
34 | #include <asm/mca_asm.h> | 34 | #include <asm/mca_asm.h> |
35 | #include <linux/init.h> | 35 | #include <linux/init.h> |
36 | #include <linux/linkage.h> | 36 | #include <linux/linkage.h> |
37 | #include "head.h" | ||
37 | 38 | ||
38 | #ifdef CONFIG_HOTPLUG_CPU | 39 | #ifdef CONFIG_HOTPLUG_CPU |
39 | #define SAL_PSR_BITS_TO_SET \ | 40 | #define SAL_PSR_BITS_TO_SET \ |
diff --git a/arch/ia64/kernel/head.h b/arch/ia64/kernel/head.h new file mode 100644 index 000000000000..2e2ac6824e65 --- /dev/null +++ b/arch/ia64/kernel/head.h | |||
@@ -0,0 +1 @@ | |||
extern void console_print(const char *s); | |||
diff --git a/arch/ia64/kernel/process.c b/arch/ia64/kernel/process.c index 5d7c0e5b9e76..9bcec9945c12 100644 --- a/arch/ia64/kernel/process.c +++ b/arch/ia64/kernel/process.c | |||
@@ -161,6 +161,13 @@ show_regs (struct pt_regs *regs) | |||
161 | show_stack(NULL, NULL); | 161 | show_stack(NULL, NULL); |
162 | } | 162 | } |
163 | 163 | ||
164 | /* local support for deprecated console_print */ | ||
165 | void | ||
166 | console_print(const char *s) | ||
167 | { | ||
168 | printk(KERN_EMERG "%s", s); | ||
169 | } | ||
170 | |||
164 | void | 171 | void |
165 | do_notify_resume_user(sigset_t *unused, struct sigscratch *scr, long in_syscall) | 172 | do_notify_resume_user(sigset_t *unused, struct sigscratch *scr, long in_syscall) |
166 | { | 173 | { |
@@ -192,6 +199,8 @@ do_notify_resume_user(sigset_t *unused, struct sigscratch *scr, long in_syscall) | |||
192 | if (test_thread_flag(TIF_NOTIFY_RESUME)) { | 199 | if (test_thread_flag(TIF_NOTIFY_RESUME)) { |
193 | clear_thread_flag(TIF_NOTIFY_RESUME); | 200 | clear_thread_flag(TIF_NOTIFY_RESUME); |
194 | tracehook_notify_resume(&scr->pt); | 201 | tracehook_notify_resume(&scr->pt); |
202 | if (current->replacement_session_keyring) | ||
203 | key_replace_session_keyring(); | ||
195 | } | 204 | } |
196 | 205 | ||
197 | /* copy user rbs to kernel rbs */ | 206 | /* copy user rbs to kernel rbs */ |