diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-07-08 00:53:00 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-07-08 00:53:00 +0000 |
commit | b8553086288629b4efb77e97f5582e08bc50ad65 (patch) | |
tree | 0a19bd1c21e148f35c7a0f76baa4f7a056b966b0 /arch/alpha | |
parent | 75b6d92f2dd5112b02f4e78cf9f35f9825946ef0 (diff) |
Merge with 2.4.0-test3-pre4.
Diffstat (limited to 'arch/alpha')
-rw-r--r-- | arch/alpha/config.in | 2 | ||||
-rw-r--r-- | arch/alpha/kernel/osf_sys.c | 8 | ||||
-rw-r--r-- | arch/alpha/vmlinux.lds | 88 |
3 files changed, 2 insertions, 96 deletions
diff --git a/arch/alpha/config.in b/arch/alpha/config.in index 7441083b6..687994802 100644 --- a/arch/alpha/config.in +++ b/arch/alpha/config.in @@ -228,6 +228,8 @@ tristate 'Kernel support for Linux/Intel ELF binaries' CONFIG_BINFMT_EM86 source drivers/parport/Config.in endmenu +source drivers/mtd/Config.in + source drivers/pnp/Config.in source drivers/block/Config.in diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c index d55af89c6..fd5c2b5e1 100644 --- a/arch/alpha/kernel/osf_sys.c +++ b/arch/alpha/kernel/osf_sys.c @@ -146,7 +146,6 @@ asmlinkage int osf_getdirentries(unsigned int fd, struct osf_dirent *dirent, buf.count = count; buf.error = 0; - lock_kernel(); error = vfs_readdir(file, osf_filldir, &buf); if (error < 0) goto out_putf; @@ -156,7 +155,6 @@ asmlinkage int osf_getdirentries(unsigned int fd, struct osf_dirent *dirent, error = count - buf.count; out_putf: - unlock_kernel(); fput(file); out: return error; @@ -230,7 +228,6 @@ asmlinkage unsigned long osf_mmap(unsigned long addr, unsigned long len, struct file *file = NULL; unsigned long ret = -EBADF; - lock_kernel(); #if 0 if (flags & (_MAP_HASSEMAPHORE | _MAP_INHERIT | _MAP_UNALIGNED)) printk("%s: unimplemented OSF mmap flags %04lx\n", @@ -248,7 +245,6 @@ asmlinkage unsigned long osf_mmap(unsigned long addr, unsigned long len, if (file) fput(file); out: - unlock_kernel(); return ret; } @@ -320,9 +316,7 @@ asmlinkage int osf_fstatfs(unsigned long fd, struct osf_statfs *buffer, unsigned retval = -EBADF; file = fget(fd); if (file) { - lock_kernel(); retval = do_osf_statfs(file->f_dentry, buffer, bufsiz); - unlock_kernel(); fput(file); } return retval; @@ -491,14 +485,12 @@ asmlinkage int sys_pipe(int a0, int a1, int a2, int a3, int a4, int a5, int fd[2]; int error; - lock_kernel(); error = do_pipe(fd); if (error) goto out; (®s)->r20 = fd[1]; error = fd[0]; out: - unlock_kernel(); return error; } diff --git a/arch/alpha/vmlinux.lds b/arch/alpha/vmlinux.lds deleted file mode 100644 index f64a926b6..000000000 --- a/arch/alpha/vmlinux.lds +++ /dev/null @@ -1,88 +0,0 @@ -OUTPUT_FORMAT("elf64-alpha") -ENTRY(__start) -SECTIONS -{ - . = 0xfffffc0000810000; - _text = .; - .text : { *(.text) } - _etext = .; - - /* Exception table */ - . = ALIGN(16); - __start___ex_table = .; - __ex_table : { *(__ex_table) } - __stop___ex_table = .; - - /* Kernel symbol table */ - . = ALIGN(8); - __start___ksymtab = .; - __ksymtab : { *(__ksymtab) } - __stop___ksymtab = .; - .kstrtab : { *(.kstrtab) } - - /* Startup code */ - . = ALIGN(8192); - __init_begin = .; - .text.init : { *(.text.init) } - .data.init : { *(.data.init) } - - . = ALIGN(16); - __setup_start = .; - .setup.init : { *(.setup.init) } - __setup_end = .; - - . = ALIGN(8); - __initcall_start = .; - .initcall.init : { *(.initcall.init) } - __initcall_end = .; - - . = ALIGN(2*8192); /* Align double page for init_task_union */ - __init_end = .; - - /* The initial task and kernel stack */ - init_task : { *(init_task) } - - /* Global data */ - _data = .; - .data.cacheline_aligned : { *(.data.cacheline_aligned) } - .rodata : { *(.rodata) } - .data : { *(.data) CONSTRUCTORS } - .got : { *(.got) } - .sdata : { *(.sdata) } - _edata = .; - - __bss_start = .; - .sbss : { *(.sbss) *(.scommon) } - .bss : { *(.bss) *(COMMON) } - __bss_stop = .; - _end = .; - - .mdebug 0 : { *(.mdebug) } - .note 0 : { *(.note) } - .comment 0 : { *(.comment) } - - /* DWARF 1 */ - .debug 0 : { *(.debug) } - .line 0 : { *(.line) } - /* GNU DWARF 1 extensions */ - .debug_srcinfo 0 : { *(.debug_srcinfo) } - .debug_sfnames 0 : { *(.debug_sfnames) } - /* DWARF 1.1 and DWARF 2 */ - .debug_aranges 0 : { *(.debug_aranges) } - .debug_pubnames 0 : { *(.debug_pubnames) } - /* DWARF 2 */ - .debug_info 0 : { *(.debug_info) } - .debug_abbrev 0 : { *(.debug_abbrev) } - .debug_line 0 : { *(.debug_line) } - .debug_frame 0 : { *(.debug_frame) } - .debug_str 0 : { *(.debug_str) } - .debug_loc 0 : { *(.debug_loc) } - .debug_macinfo 0 : { *(.debug_macinfo) } - /* SGI/MIPS DWARF 2 extensions */ - .debug_weaknames 0 : { *(.debug_weaknames) } - .debug_funcnames 0 : { *(.debug_funcnames) } - .debug_typenames 0 : { *(.debug_typenames) } - .debug_varnames 0 : { *(.debug_varnames) } - - /DISCARD/ : { *(.text.exit) *(.data.exit) } -} |