diff options
| -rw-r--r-- | arch/parisc/kernel/hardware.c | 3 | ||||
| -rw-r--r-- | arch/parisc/kernel/sys_parisc32.c | 46 | ||||
| -rw-r--r-- | arch/parisc/kernel/syscall_table.S | 2 |
3 files changed, 13 insertions, 38 deletions
diff --git a/arch/parisc/kernel/hardware.c b/arch/parisc/kernel/hardware.c index 608716f8496b..af3bc359dc70 100644 --- a/arch/parisc/kernel/hardware.c +++ b/arch/parisc/kernel/hardware.c | |||
| @@ -1210,7 +1210,8 @@ static struct hp_hardware hp_hardware_list[] = { | |||
| 1210 | {HPHW_FIO, 0x004, 0x00320, 0x0, "Metheus Frame Buffer"}, | 1210 | {HPHW_FIO, 0x004, 0x00320, 0x0, "Metheus Frame Buffer"}, |
| 1211 | {HPHW_FIO, 0x004, 0x00340, 0x0, "BARCO CX4500 VME Grphx Cnsl"}, | 1211 | {HPHW_FIO, 0x004, 0x00340, 0x0, "BARCO CX4500 VME Grphx Cnsl"}, |
| 1212 | {HPHW_FIO, 0x004, 0x00360, 0x0, "Hughes TOG VME FDDI"}, | 1212 | {HPHW_FIO, 0x004, 0x00360, 0x0, "Hughes TOG VME FDDI"}, |
| 1213 | {HPHW_FIO, 0x076, 0x000AD, 0x00, "Crestone Peak RS-232"}, | 1213 | {HPHW_FIO, 0x076, 0x000AD, 0x0, "Crestone Peak Core RS-232"}, |
| 1214 | {HPHW_FIO, 0x077, 0x000AD, 0x0, "Crestone Peak Fast? Core RS-232"}, | ||
| 1214 | {HPHW_IOA, 0x185, 0x0000B, 0x00, "Java BC Summit Port"}, | 1215 | {HPHW_IOA, 0x185, 0x0000B, 0x00, "Java BC Summit Port"}, |
| 1215 | {HPHW_IOA, 0x1FF, 0x0000B, 0x00, "Hitachi Ghostview Summit Port"}, | 1216 | {HPHW_IOA, 0x1FF, 0x0000B, 0x00, "Hitachi Ghostview Summit Port"}, |
| 1216 | {HPHW_IOA, 0x580, 0x0000B, 0x10, "U2-IOA BC Runway Port"}, | 1217 | {HPHW_IOA, 0x580, 0x0000B, 0x10, "U2-IOA BC Runway Port"}, |
diff --git a/arch/parisc/kernel/sys_parisc32.c b/arch/parisc/kernel/sys_parisc32.c index bb9f3b64de55..93c1963d76fe 100644 --- a/arch/parisc/kernel/sys_parisc32.c +++ b/arch/parisc/kernel/sys_parisc32.c | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | * Copyright (C) 2000-2001 Hewlett Packard Company | 4 | * Copyright (C) 2000-2001 Hewlett Packard Company |
| 5 | * Copyright (C) 2000 John Marvin | 5 | * Copyright (C) 2000 John Marvin |
| 6 | * Copyright (C) 2001 Matthew Wilcox | 6 | * Copyright (C) 2001 Matthew Wilcox |
| 7 | * Copyright (C) 2014 Helge Deller <deller@gmx.de> | ||
| 7 | * | 8 | * |
| 8 | * These routines maintain argument size conversion between 32bit and 64bit | 9 | * These routines maintain argument size conversion between 32bit and 64bit |
| 9 | * environment. Based heavily on sys_ia32.c and sys_sparc32.c. | 10 | * environment. Based heavily on sys_ia32.c and sys_sparc32.c. |
| @@ -11,44 +12,8 @@ | |||
| 11 | 12 | ||
| 12 | #include <linux/compat.h> | 13 | #include <linux/compat.h> |
| 13 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
| 14 | #include <linux/sched.h> | ||
| 15 | #include <linux/fs.h> | ||
| 16 | #include <linux/mm.h> | ||
| 17 | #include <linux/file.h> | ||
| 18 | #include <linux/signal.h> | ||
| 19 | #include <linux/resource.h> | ||
| 20 | #include <linux/times.h> | ||
| 21 | #include <linux/time.h> | ||
| 22 | #include <linux/smp.h> | ||
| 23 | #include <linux/sem.h> | ||
| 24 | #include <linux/shm.h> | ||
| 25 | #include <linux/slab.h> | ||
| 26 | #include <linux/uio.h> | ||
| 27 | #include <linux/ncp_fs.h> | ||
| 28 | #include <linux/poll.h> | ||
| 29 | #include <linux/personality.h> | ||
| 30 | #include <linux/stat.h> | ||
| 31 | #include <linux/highmem.h> | ||
| 32 | #include <linux/highuid.h> | ||
| 33 | #include <linux/mman.h> | ||
| 34 | #include <linux/binfmts.h> | ||
| 35 | #include <linux/namei.h> | ||
| 36 | #include <linux/vfs.h> | ||
| 37 | #include <linux/ptrace.h> | ||
| 38 | #include <linux/swap.h> | ||
| 39 | #include <linux/syscalls.h> | 15 | #include <linux/syscalls.h> |
| 40 | 16 | ||
| 41 | #include <asm/types.h> | ||
| 42 | #include <asm/uaccess.h> | ||
| 43 | #include <asm/mmu_context.h> | ||
| 44 | |||
| 45 | #undef DEBUG | ||
| 46 | |||
| 47 | #ifdef DEBUG | ||
| 48 | #define DBG(x) printk x | ||
| 49 | #else | ||
| 50 | #define DBG(x) | ||
| 51 | #endif | ||
| 52 | 17 | ||
| 53 | asmlinkage long sys32_unimplemented(int r26, int r25, int r24, int r23, | 18 | asmlinkage long sys32_unimplemented(int r26, int r25, int r24, int r23, |
| 54 | int r22, int r21, int r20) | 19 | int r22, int r21, int r20) |
| @@ -57,3 +22,12 @@ asmlinkage long sys32_unimplemented(int r26, int r25, int r24, int r23, | |||
| 57 | current->comm, current->pid, r20); | 22 | current->comm, current->pid, r20); |
| 58 | return -ENOSYS; | 23 | return -ENOSYS; |
| 59 | } | 24 | } |
| 25 | |||
| 26 | asmlinkage long sys32_fanotify_mark(compat_int_t fanotify_fd, compat_uint_t flags, | ||
| 27 | compat_uint_t mask0, compat_uint_t mask1, compat_int_t dfd, | ||
| 28 | const char __user * pathname) | ||
| 29 | { | ||
| 30 | return sys_fanotify_mark(fanotify_fd, flags, | ||
| 31 | ((__u64)mask1 << 32) | mask0, | ||
| 32 | dfd, pathname); | ||
| 33 | } | ||
diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S index c5fa7a697fba..84c5d3a58fa1 100644 --- a/arch/parisc/kernel/syscall_table.S +++ b/arch/parisc/kernel/syscall_table.S | |||
| @@ -418,7 +418,7 @@ | |||
| 418 | ENTRY_SAME(accept4) /* 320 */ | 418 | ENTRY_SAME(accept4) /* 320 */ |
| 419 | ENTRY_SAME(prlimit64) | 419 | ENTRY_SAME(prlimit64) |
| 420 | ENTRY_SAME(fanotify_init) | 420 | ENTRY_SAME(fanotify_init) |
| 421 | ENTRY_COMP(fanotify_mark) | 421 | ENTRY_DIFF(fanotify_mark) |
| 422 | ENTRY_COMP(clock_adjtime) | 422 | ENTRY_COMP(clock_adjtime) |
| 423 | ENTRY_SAME(name_to_handle_at) /* 325 */ | 423 | ENTRY_SAME(name_to_handle_at) /* 325 */ |
| 424 | ENTRY_COMP(open_by_handle_at) | 424 | ENTRY_COMP(open_by_handle_at) |
