diff options
Diffstat (limited to 'arch/m32r/kernel')
| -rw-r--r-- | arch/m32r/kernel/init_task.c | 1 | ||||
| -rw-r--r-- | arch/m32r/kernel/sys_m32r.c | 20 | ||||
| -rw-r--r-- | arch/m32r/kernel/vmlinux.lds.S | 3 |
3 files changed, 0 insertions, 24 deletions
diff --git a/arch/m32r/kernel/init_task.c b/arch/m32r/kernel/init_task.c index 9e508fd9d970..0d658dbb6766 100644 --- a/arch/m32r/kernel/init_task.c +++ b/arch/m32r/kernel/init_task.c | |||
| @@ -12,7 +12,6 @@ | |||
| 12 | #include <asm/pgtable.h> | 12 | #include <asm/pgtable.h> |
| 13 | 13 | ||
| 14 | static struct fs_struct init_fs = INIT_FS; | 14 | static struct fs_struct init_fs = INIT_FS; |
| 15 | static struct files_struct init_files = INIT_FILES; | ||
| 16 | static struct signal_struct init_signals = INIT_SIGNALS(init_signals); | 15 | static struct signal_struct init_signals = INIT_SIGNALS(init_signals); |
| 17 | static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand); | 16 | static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand); |
| 18 | struct mm_struct init_mm = INIT_MM(init_mm); | 17 | struct mm_struct init_mm = INIT_MM(init_mm); |
diff --git a/arch/m32r/kernel/sys_m32r.c b/arch/m32r/kernel/sys_m32r.c index 6d7a80fdad48..305ac852bbed 100644 --- a/arch/m32r/kernel/sys_m32r.c +++ b/arch/m32r/kernel/sys_m32r.c | |||
| @@ -76,26 +76,6 @@ asmlinkage int sys_tas(int __user *addr) | |||
| 76 | return oldval; | 76 | return oldval; |
| 77 | } | 77 | } |
| 78 | 78 | ||
| 79 | /* | ||
| 80 | * sys_pipe() is the normal C calling standard for creating | ||
| 81 | * a pipe. It's not the way Unix traditionally does this, though. | ||
| 82 | */ | ||
| 83 | asmlinkage int | ||
| 84 | sys_pipe(unsigned long r0, unsigned long r1, unsigned long r2, | ||
| 85 | unsigned long r3, unsigned long r4, unsigned long r5, | ||
| 86 | unsigned long r6, struct pt_regs regs) | ||
| 87 | { | ||
| 88 | int fd[2]; | ||
| 89 | int error; | ||
| 90 | |||
| 91 | error = do_pipe(fd); | ||
| 92 | if (!error) { | ||
| 93 | if (copy_to_user((void __user *)r0, fd, 2*sizeof(int))) | ||
| 94 | error = -EFAULT; | ||
| 95 | } | ||
| 96 | return error; | ||
| 97 | } | ||
| 98 | |||
| 99 | asmlinkage long sys_mmap2(unsigned long addr, unsigned long len, | 79 | asmlinkage long sys_mmap2(unsigned long addr, unsigned long len, |
| 100 | unsigned long prot, unsigned long flags, | 80 | unsigned long prot, unsigned long flags, |
| 101 | unsigned long fd, unsigned long pgoff) | 81 | unsigned long fd, unsigned long pgoff) |
diff --git a/arch/m32r/kernel/vmlinux.lds.S b/arch/m32r/kernel/vmlinux.lds.S index 41b07854fcc6..15a6f36c06db 100644 --- a/arch/m32r/kernel/vmlinux.lds.S +++ b/arch/m32r/kernel/vmlinux.lds.S | |||
| @@ -60,9 +60,6 @@ SECTIONS | |||
| 60 | . = ALIGN(4096); | 60 | . = ALIGN(4096); |
| 61 | __nosave_end = .; | 61 | __nosave_end = .; |
| 62 | 62 | ||
| 63 | . = ALIGN(4096); | ||
| 64 | .data.page_aligned : { *(.data.idt) } | ||
| 65 | |||
| 66 | . = ALIGN(32); | 63 | . = ALIGN(32); |
| 67 | .data.cacheline_aligned : { *(.data.cacheline_aligned) } | 64 | .data.cacheline_aligned : { *(.data.cacheline_aligned) } |
| 68 | 65 | ||
