diff options
Diffstat (limited to 'arch/parisc')
| -rw-r--r-- | arch/parisc/Kconfig | 3 | ||||
| -rw-r--r-- | arch/parisc/include/asm/compat.h | 3 | ||||
| -rw-r--r-- | arch/parisc/include/asm/pci.h | 14 | ||||
| -rw-r--r-- | arch/parisc/include/asm/ptrace.h | 5 | ||||
| -rw-r--r-- | arch/parisc/kernel/sys_parisc.c | 15 | ||||
| -rw-r--r-- | arch/parisc/kernel/syscall_table.S | 2 |
6 files changed, 6 insertions, 36 deletions
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index f388dc68f605..9c4da3d63bfb 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig | |||
| @@ -95,6 +95,9 @@ config PM | |||
| 95 | config STACKTRACE_SUPPORT | 95 | config STACKTRACE_SUPPORT |
| 96 | def_bool y | 96 | def_bool y |
| 97 | 97 | ||
| 98 | config NEED_DMA_MAP_STATE | ||
| 99 | def_bool y | ||
| 100 | |||
| 98 | config ISA_DMA_API | 101 | config ISA_DMA_API |
| 99 | bool | 102 | bool |
| 100 | 103 | ||
diff --git a/arch/parisc/include/asm/compat.h b/arch/parisc/include/asm/compat.h index 7f32611a7a5e..02b77baa5da6 100644 --- a/arch/parisc/include/asm/compat.h +++ b/arch/parisc/include/asm/compat.h | |||
| @@ -7,7 +7,8 @@ | |||
| 7 | #include <linux/sched.h> | 7 | #include <linux/sched.h> |
| 8 | #include <linux/thread_info.h> | 8 | #include <linux/thread_info.h> |
| 9 | 9 | ||
| 10 | #define COMPAT_USER_HZ 100 | 10 | #define COMPAT_USER_HZ 100 |
| 11 | #define COMPAT_UTS_MACHINE "parisc\0\0" | ||
| 11 | 12 | ||
| 12 | typedef u32 compat_size_t; | 13 | typedef u32 compat_size_t; |
| 13 | typedef s32 compat_ssize_t; | 14 | typedef s32 compat_ssize_t; |
diff --git a/arch/parisc/include/asm/pci.h b/arch/parisc/include/asm/pci.h index 64c7aa590ae5..2242a5c636c2 100644 --- a/arch/parisc/include/asm/pci.h +++ b/arch/parisc/include/asm/pci.h | |||
| @@ -183,20 +183,6 @@ struct pci_bios_ops { | |||
| 183 | void (*fixup_bus)(struct pci_bus *bus); | 183 | void (*fixup_bus)(struct pci_bus *bus); |
| 184 | }; | 184 | }; |
| 185 | 185 | ||
| 186 | /* pci_unmap_{single,page} is not a nop, thus... */ | ||
| 187 | #define DECLARE_PCI_UNMAP_ADDR(ADDR_NAME) \ | ||
| 188 | dma_addr_t ADDR_NAME; | ||
| 189 | #define DECLARE_PCI_UNMAP_LEN(LEN_NAME) \ | ||
| 190 | __u32 LEN_NAME; | ||
| 191 | #define pci_unmap_addr(PTR, ADDR_NAME) \ | ||
| 192 | ((PTR)->ADDR_NAME) | ||
| 193 | #define pci_unmap_addr_set(PTR, ADDR_NAME, VAL) \ | ||
| 194 | (((PTR)->ADDR_NAME) = (VAL)) | ||
| 195 | #define pci_unmap_len(PTR, LEN_NAME) \ | ||
| 196 | ((PTR)->LEN_NAME) | ||
| 197 | #define pci_unmap_len_set(PTR, LEN_NAME, VAL) \ | ||
| 198 | (((PTR)->LEN_NAME) = (VAL)) | ||
| 199 | |||
| 200 | /* | 186 | /* |
| 201 | ** Stuff declared in arch/parisc/kernel/pci.c | 187 | ** Stuff declared in arch/parisc/kernel/pci.c |
| 202 | */ | 188 | */ |
diff --git a/arch/parisc/include/asm/ptrace.h b/arch/parisc/include/asm/ptrace.h index aead40b16dd8..7f09533da771 100644 --- a/arch/parisc/include/asm/ptrace.h +++ b/arch/parisc/include/asm/ptrace.h | |||
| @@ -47,13 +47,8 @@ struct pt_regs { | |||
| 47 | 47 | ||
| 48 | #define task_regs(task) ((struct pt_regs *) ((char *)(task) + TASK_REGS)) | 48 | #define task_regs(task) ((struct pt_regs *) ((char *)(task) + TASK_REGS)) |
| 49 | 49 | ||
| 50 | struct task_struct; | ||
| 51 | #define arch_has_single_step() 1 | 50 | #define arch_has_single_step() 1 |
| 52 | void user_disable_single_step(struct task_struct *task); | ||
| 53 | void user_enable_single_step(struct task_struct *task); | ||
| 54 | |||
| 55 | #define arch_has_block_step() 1 | 51 | #define arch_has_block_step() 1 |
| 56 | void user_enable_block_step(struct task_struct *task); | ||
| 57 | 52 | ||
| 58 | /* XXX should we use iaoq[1] or iaoq[0] ? */ | 53 | /* XXX should we use iaoq[1] or iaoq[0] ? */ |
| 59 | #define user_mode(regs) (((regs)->iaoq[0] & 3) ? 1 : 0) | 54 | #define user_mode(regs) (((regs)->iaoq[0] & 3) ? 1 : 0) |
diff --git a/arch/parisc/kernel/sys_parisc.c b/arch/parisc/kernel/sys_parisc.c index 9147391afb03..c9b932260f47 100644 --- a/arch/parisc/kernel/sys_parisc.c +++ b/arch/parisc/kernel/sys_parisc.c | |||
| @@ -234,18 +234,3 @@ long parisc_personality(unsigned long personality) | |||
| 234 | 234 | ||
| 235 | return err; | 235 | return err; |
| 236 | } | 236 | } |
| 237 | |||
| 238 | long parisc_newuname(struct new_utsname __user *name) | ||
| 239 | { | ||
| 240 | int err = sys_newuname(name); | ||
| 241 | |||
| 242 | #ifdef CONFIG_COMPAT | ||
| 243 | if (!err && personality(current->personality) == PER_LINUX32) { | ||
| 244 | if (__put_user(0, name->machine + 6) || | ||
| 245 | __put_user(0, name->machine + 7)) | ||
| 246 | err = -EFAULT; | ||
| 247 | } | ||
| 248 | #endif | ||
| 249 | |||
| 250 | return err; | ||
| 251 | } | ||
diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S index de5f6dab48b7..3d52c978738f 100644 --- a/arch/parisc/kernel/syscall_table.S +++ b/arch/parisc/kernel/syscall_table.S | |||
| @@ -127,7 +127,7 @@ | |||
| 127 | ENTRY_SAME(socketpair) | 127 | ENTRY_SAME(socketpair) |
| 128 | ENTRY_SAME(setpgid) | 128 | ENTRY_SAME(setpgid) |
| 129 | ENTRY_SAME(send) | 129 | ENTRY_SAME(send) |
| 130 | ENTRY_OURS(newuname) | 130 | ENTRY_SAME(newuname) |
| 131 | ENTRY_SAME(umask) /* 60 */ | 131 | ENTRY_SAME(umask) /* 60 */ |
| 132 | ENTRY_SAME(chroot) | 132 | ENTRY_SAME(chroot) |
| 133 | ENTRY_COMP(ustat) | 133 | ENTRY_COMP(ustat) |
