aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-03-03 15:57:38 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2013-03-03 15:57:38 -0500
commit6977c6fc77b864dc1851e100c8528c2f3ed5bd9b (patch)
treed43b5e8e33a01ebf7a4f356342c700e4f46ec8e3 /arch/parisc/kernel
parent8fd5e7a2d9574b3cac1c9264ad1aed3b613ed6fe (diff)
parentcf8e18ea2f8be26e8f9e44ed677d25f558ca301a (diff)
Merge branch 'fixes-for-3.9-latest' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
Pull second round of PARISC updates from Helge Deller: "The most important fix in this branch is the switch of io_setup, io_getevents and io_submit syscalls to use the available compat syscalls when running 32bit userspace on 64bit kernel. Other than that it's mostly removal of compile warnings." * 'fixes-for-3.9-latest' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux: parisc: fix redefinition of SET_PERSONALITY parisc: do not install modules when installing kernel parisc: fix compile warnings triggered by atomic_sub(sizeof(),v) parisc: check return value of down_interruptible() in hp_sdc_rtc.c parisc: avoid unitialized variable warning in pa_memcpy() parisc: remove unused variable 'compat_val' parisc: switch to compat_functions of io_setup, io_getevents and io_submit parisc: select ARCH_WANT_FRAME_POINTERS
Diffstat (limited to 'arch/parisc/kernel')
-rw-r--r--arch/parisc/kernel/binfmt_elf32.c1
-rw-r--r--arch/parisc/kernel/signal.c1
-rw-r--r--arch/parisc/kernel/syscall_table.S6
3 files changed, 4 insertions, 4 deletions
diff --git a/arch/parisc/kernel/binfmt_elf32.c b/arch/parisc/kernel/binfmt_elf32.c
index f61692d2b557..00dc66f9c2ba 100644
--- a/arch/parisc/kernel/binfmt_elf32.c
+++ b/arch/parisc/kernel/binfmt_elf32.c
@@ -85,6 +85,7 @@ struct elf_prpsinfo32
85 * could set a processor dependent flag in the thread_struct. 85 * could set a processor dependent flag in the thread_struct.
86 */ 86 */
87 87
88#undef SET_PERSONALITY
88#define SET_PERSONALITY(ex) \ 89#define SET_PERSONALITY(ex) \
89 set_thread_flag(TIF_32BIT); \ 90 set_thread_flag(TIF_32BIT); \
90 current->thread.map_base = DEFAULT_MAP_BASE32; \ 91 current->thread.map_base = DEFAULT_MAP_BASE32; \
diff --git a/arch/parisc/kernel/signal.c b/arch/parisc/kernel/signal.c
index 98e9e7126565..940188d1942c 100644
--- a/arch/parisc/kernel/signal.c
+++ b/arch/parisc/kernel/signal.c
@@ -242,7 +242,6 @@ setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info,
242 unsigned long haddr, sigframe_size; 242 unsigned long haddr, sigframe_size;
243 int err = 0; 243 int err = 0;
244#ifdef CONFIG_64BIT 244#ifdef CONFIG_64BIT
245 compat_int_t compat_val;
246 struct compat_rt_sigframe __user * compat_frame; 245 struct compat_rt_sigframe __user * compat_frame;
247 compat_sigset_t compat_set; 246 compat_sigset_t compat_set;
248#endif 247#endif
diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S
index 884b91b028f0..f57dc137b8dd 100644
--- a/arch/parisc/kernel/syscall_table.S
+++ b/arch/parisc/kernel/syscall_table.S
@@ -310,10 +310,10 @@
310 ENTRY_COMP(sched_getaffinity) 310 ENTRY_COMP(sched_getaffinity)
311 ENTRY_SAME(ni_syscall) /* set_thread_area */ 311 ENTRY_SAME(ni_syscall) /* set_thread_area */
312 ENTRY_SAME(ni_syscall) /* get_thread_area */ 312 ENTRY_SAME(ni_syscall) /* get_thread_area */
313 ENTRY_SAME(io_setup) /* 215 */ 313 ENTRY_COMP(io_setup) /* 215 */
314 ENTRY_SAME(io_destroy) 314 ENTRY_SAME(io_destroy)
315 ENTRY_SAME(io_getevents) 315 ENTRY_COMP(io_getevents)
316 ENTRY_SAME(io_submit) 316 ENTRY_COMP(io_submit)
317 ENTRY_SAME(io_cancel) 317 ENTRY_SAME(io_cancel)
318 ENTRY_SAME(alloc_hugepages) /* 220 */ 318 ENTRY_SAME(alloc_hugepages) /* 220 */
319 ENTRY_SAME(free_hugepages) 319 ENTRY_SAME(free_hugepages)