diff options
Diffstat (limited to 'arch/m32r')
| -rw-r--r-- | arch/m32r/Kconfig | 3 | ||||
| -rw-r--r-- | arch/m32r/Makefile | 4 | ||||
| -rw-r--r-- | arch/m32r/include/asm/ioctls.h | 4 | ||||
| -rw-r--r-- | arch/m32r/include/asm/local64.h | 1 | ||||
| -rw-r--r-- | arch/m32r/include/asm/scatterlist.h | 2 | ||||
| -rw-r--r-- | arch/m32r/include/asm/termbits.h | 1 | ||||
| -rw-r--r-- | arch/m32r/kernel/process.c | 3 |
7 files changed, 8 insertions, 10 deletions
diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig index 3a9319f93e89..836abbbc9c04 100644 --- a/arch/m32r/Kconfig +++ b/arch/m32r/Kconfig | |||
| @@ -44,9 +44,6 @@ config HZ | |||
| 44 | int | 44 | int |
| 45 | default 100 | 45 | default 100 |
| 46 | 46 | ||
| 47 | config GENERIC_TIME | ||
| 48 | def_bool y | ||
| 49 | |||
| 50 | config ARCH_USES_GETTIMEOFFSET | 47 | config ARCH_USES_GETTIMEOFFSET |
| 51 | def_bool y | 48 | def_bool y |
| 52 | 49 | ||
diff --git a/arch/m32r/Makefile b/arch/m32r/Makefile index 469766b24e22..8ff5ba0ea26c 100644 --- a/arch/m32r/Makefile +++ b/arch/m32r/Makefile | |||
| @@ -12,8 +12,8 @@ OBJCOPYFLAGS := -O binary -R .note -R .comment -S | |||
| 12 | LDFLAGS_vmlinux := | 12 | LDFLAGS_vmlinux := |
| 13 | 13 | ||
| 14 | KBUILD_CFLAGS += -pipe -fno-schedule-insns | 14 | KBUILD_CFLAGS += -pipe -fno-schedule-insns |
| 15 | CFLAGS_KERNEL += -mmodel=medium | 15 | KBUILD_CFLAGS_KERNEL += -mmodel=medium |
| 16 | CFLAGS_MODULE += -mmodel=large | 16 | KBUILD_CFLAGS_MODULE += -mmodel=large |
| 17 | 17 | ||
| 18 | ifdef CONFIG_CHIP_VDEC2 | 18 | ifdef CONFIG_CHIP_VDEC2 |
| 19 | cflags-$(CONFIG_ISA_M32R2) += -DNO_FPU -Wa,-bitinst | 19 | cflags-$(CONFIG_ISA_M32R2) += -DNO_FPU -Wa,-bitinst |
diff --git a/arch/m32r/include/asm/ioctls.h b/arch/m32r/include/asm/ioctls.h index b9f54bb5d7cf..66288063a4c0 100644 --- a/arch/m32r/include/asm/ioctls.h +++ b/arch/m32r/include/asm/ioctls.h | |||
| @@ -53,6 +53,7 @@ | |||
| 53 | #define TCSETSF2 _IOW('T',0x2D, struct termios2) | 53 | #define TCSETSF2 _IOW('T',0x2D, struct termios2) |
| 54 | #define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ | 54 | #define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ |
| 55 | #define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */ | 55 | #define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */ |
| 56 | #define TIOCSIG _IOW('T',0x36, int) /* Generate signal on Pty slave */ | ||
| 56 | 57 | ||
| 57 | #define FIONCLEX 0x5450 | 58 | #define FIONCLEX 0x5450 |
| 58 | #define FIOCLEX 0x5451 | 59 | #define FIOCLEX 0x5451 |
| @@ -69,8 +70,6 @@ | |||
| 69 | 70 | ||
| 70 | #define TIOCMIWAIT 0x545C /* wait for a change on serial input line(s) */ | 71 | #define TIOCMIWAIT 0x545C /* wait for a change on serial input line(s) */ |
| 71 | #define TIOCGICOUNT 0x545D /* read serial port inline interrupt counts */ | 72 | #define TIOCGICOUNT 0x545D /* read serial port inline interrupt counts */ |
| 72 | #define TIOCGHAYESESP 0x545E /* Get Hayes ESP configuration */ | ||
| 73 | #define TIOCSHAYESESP 0x545F /* Set Hayes ESP configuration */ | ||
| 74 | #define FIOQSIZE 0x5460 | 73 | #define FIOQSIZE 0x5460 |
| 75 | 74 | ||
| 76 | /* Used for packet mode */ | 75 | /* Used for packet mode */ |
| @@ -81,6 +80,7 @@ | |||
| 81 | #define TIOCPKT_START 8 | 80 | #define TIOCPKT_START 8 |
| 82 | #define TIOCPKT_NOSTOP 16 | 81 | #define TIOCPKT_NOSTOP 16 |
| 83 | #define TIOCPKT_DOSTOP 32 | 82 | #define TIOCPKT_DOSTOP 32 |
| 83 | #define TIOCPKT_IOCTL 64 | ||
| 84 | 84 | ||
| 85 | #define TIOCSER_TEMT 0x01 /* Transmitter physically empty */ | 85 | #define TIOCSER_TEMT 0x01 /* Transmitter physically empty */ |
| 86 | 86 | ||
diff --git a/arch/m32r/include/asm/local64.h b/arch/m32r/include/asm/local64.h new file mode 100644 index 000000000000..36c93b5cc239 --- /dev/null +++ b/arch/m32r/include/asm/local64.h | |||
| @@ -0,0 +1 @@ | |||
| #include <asm-generic/local64.h> | |||
diff --git a/arch/m32r/include/asm/scatterlist.h b/arch/m32r/include/asm/scatterlist.h index aeeddd8dac17..7370b8b6243e 100644 --- a/arch/m32r/include/asm/scatterlist.h +++ b/arch/m32r/include/asm/scatterlist.h | |||
| @@ -3,6 +3,4 @@ | |||
| 3 | 3 | ||
| 4 | #include <asm-generic/scatterlist.h> | 4 | #include <asm-generic/scatterlist.h> |
| 5 | 5 | ||
| 6 | #define ISA_DMA_THRESHOLD (0x1fffffff) | ||
| 7 | |||
| 8 | #endif /* _ASM_M32R_SCATTERLIST_H */ | 6 | #endif /* _ASM_M32R_SCATTERLIST_H */ |
diff --git a/arch/m32r/include/asm/termbits.h b/arch/m32r/include/asm/termbits.h index bc104008b55b..957a3c688549 100644 --- a/arch/m32r/include/asm/termbits.h +++ b/arch/m32r/include/asm/termbits.h | |||
| @@ -179,6 +179,7 @@ struct ktermios { | |||
| 179 | #define FLUSHO 0010000 | 179 | #define FLUSHO 0010000 |
| 180 | #define PENDIN 0040000 | 180 | #define PENDIN 0040000 |
| 181 | #define IEXTEN 0100000 | 181 | #define IEXTEN 0100000 |
| 182 | #define EXTPROC 0200000 | ||
| 182 | 183 | ||
| 183 | /* tcflow() and TCXONC use these */ | 184 | /* tcflow() and TCXONC use these */ |
| 184 | #define TCOOFF 0 | 185 | #define TCOOFF 0 |
diff --git a/arch/m32r/kernel/process.c b/arch/m32r/kernel/process.c index bc8c8c1511b2..8665a4d868ec 100644 --- a/arch/m32r/kernel/process.c +++ b/arch/m32r/kernel/process.c | |||
| @@ -288,7 +288,8 @@ asmlinkage int sys_vfork(unsigned long r0, unsigned long r1, unsigned long r2, | |||
| 288 | /* | 288 | /* |
| 289 | * sys_execve() executes a new program. | 289 | * sys_execve() executes a new program. |
| 290 | */ | 290 | */ |
| 291 | asmlinkage int sys_execve(char __user *ufilename, char __user * __user *uargv, | 291 | asmlinkage int sys_execve(const char __user *ufilename, |
| 292 | char __user * __user *uargv, | ||
| 292 | char __user * __user *uenvp, | 293 | char __user * __user *uenvp, |
| 293 | unsigned long r3, unsigned long r4, unsigned long r5, | 294 | unsigned long r3, unsigned long r4, unsigned long r5, |
| 294 | unsigned long r6, struct pt_regs regs) | 295 | unsigned long r6, struct pt_regs regs) |
