UML - Style fixes pass 3
Subsystems (2)
PATCH 7/14 UML - Style fixes pass 3
Formatting changes in the files which have been changed in the course of folding foo_skas functions into their callers. These include:
copyright updates
header file trimming
style fixes
adding severity to printks
These changes should be entirely non-functional.
--
arch/um/include/irq_user.h | 4 arch/um/include/kern_util.h | 3 arch/um/include/os.h | 16 +- arch/um/include/skas/skas.h | 3 arch/um/include/sysdep-i386/ptrace.h | 12 - arch/um/kernel/exec.c | 41 ++---- arch/um/kernel/irq.c | 85 +++++------- arch/um/kernel/physmem.c | 9 - arch/um/kernel/process.c | 110 +++++++--------- arch/um/kernel/ptrace.c | 114 ++++++++--------- arch/um/kernel/reboot.c | 12 - arch/um/kernel/signal.c | 58 +++----- arch/um/kernel/skas/Makefile | 2 arch/um/kernel/skas/mmu.c | 64 ++++----- arch/um/kernel/skas/process.c | 27 +--- arch/um/kernel/skas/syscall.c | 17 +- arch/um/kernel/syscall.c | 38 ++--- arch/um/kernel/time.c | 32 +--- arch/um/kernel/tlb.c | 158 ++++++++++++------------ arch/um/kernel/um_arch.c | 74 ++++------- arch/um/os-Linux/aio.c | 112 +++++++++-------- arch/um/os-Linux/file.c | 4 arch/um/os-Linux/main.c | 80 ++++++------ arch/um/os-Linux/process.c | 100 +++++++-------- arch/um/os-Linux/registers.c | 9 - arch/um/os-Linux/signal.c | 96 +++++++------- arch/um/os-Linux/skas/mem.c | 94 +++++++------- arch/um/os-Linux/skas/process.c | 229 +++++++++++++++++------------------ arch/um/os-Linux/skas/trap.c | 32 ++-- arch/um/os-Linux/start_up.c | 153 +++++++++++------------ arch/um/os-Linux/trap.c | 6 arch/um/os-Linux/umid.c | 136 +++++++++++--------- arch/um/sys-i386/bugs.c | 106 ++++++++-------- arch/um/sys-i386/fault.c | 8 - arch/um/sys-i386/ldt.c | 217 ++++++++++++++++----------------- arch/um/sys-i386/ptrace.c | 107 +++++++--------- arch/um/sys-i386/signal.c | 62 ++++----- arch/um/sys-i386/tls.c | 74 ++++++----- arch/um/sys-x86_64/fault.c | 7 - arch/um/sys-x86_64/signal.c | 145 +++++++++------------- arch/um/sys-x86_64/syscalls.c | 68 +++++----- arch/um/sys-x86_64/tls.c | 2 include/asm-um/mmu_context.h | 13 - include/asm-um/processor-generic.h | 13 + include/asm-um/ptrace-generic.h | 2 include/asm-um/ptrace-i386.h | 11 + 46 files changed, 1338 insertions(+), 1427 deletions(-)
arch/um/os-Linux/start_up.c +74 -79
@@ -1,41 +1,29 @@/* -* Copyright (C) 2000, 2001, 2002 Jeff Dike ([email protected]) +* Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Licensed under the GPL */ -#include <pty.h> #include <stdio.h> -#include <stddef.h> -#include <stdarg.h> #include <stdlib.h> -#include <string.h> +#include <stdarg.h> #include <unistd.h> -#include <signal.h> -#include <sched.h> -#include <fcntl.h> #include <errno.h> -#include <sys/time.h> -#include <sys/wait.h> +#include <fcntl.h> +#include <sched.h> +#include <signal.h> +#include <string.h> #include <sys/mman.h> -#include <sys/resource.h> +#include <sys/ptrace.h> +#include <sys/stat.h> +#include <sys/wait.h> #include <asm/unistd.h> -#include <sys/types.h> -#include "kern_util.h" -#include "user.h" -#include "signal_kern.h" -#include "sysdep/ptrace.h" -#include "sysdep/sigcontext.h" -#include "irq_user.h" -#include "ptrace_user.h" -#include "mem_user.h" #include "init.h" -#include "os.h" -#include "uml-config.h" -#include "tempfile.h" #include "kern_constants.h" -#include "skas.h" -#include "skas_ptrace.h" +#include "os.h" +#include "mem_user.h" +#include "ptrace_user.h" #include "registers.h" +#include "skas_ptrace.h" static int ptrace_child (void *arg) {
@@ -44,26 +32,33 @@ static int ptrace_child(void *arg)int sc_result;change_sig (SIGWINCH ,0 ); -if (ptrace (PTRACE_TRACEME ,0 ,0 ,0 ) <0 ){ +if (ptrace (PTRACE_TRACEME ,0 ,0 ,0 ) <0 ) {perror ("ptrace" );os_kill_process (pid,0 ); }kill (pid,SIGSTOP ); -/*This syscall will be intercepted by the parent. Don't call more than -* once, please.*/ +/* +* This syscall will be intercepted by the parent. Don't call more than +* once, please. +*/ sc_result =os_getpid ();if (sc_result == pid) - ret =1 ;/*Nothing modified by the parent, we are running -normally.*/ +/* Nothing modified by the parent, we are running normally. */ + ret =1 ;else if (sc_result == ppid) - ret =0 ;/*Expected in check_ptrace and check_sysemu when they -succeed in modifying the stack frame*/ +/* +* Expected in check_ptrace and check_sysemu when they succeed +* in modifying the stack frame +*/ + ret =0 ;else - ret =2 ;/*Serious trouble! This could be caused by a bug in -host 2.6 SKAS3/2.6 patch before release -V6, together -with a bug in the UML code itself.*/ +/* Serious trouble! This could be caused by a bug in host 2.6 +* SKAS3/2.6 patch before release -V6, together with a bug in +* the UML code itself. +*/ + ret =2 ;_exit (ret); }
@@ -104,16 +99,18 @@ static int start_ptraced_child(void **st stack =mmap (NULL ,UM_KERN_PAGE_SIZE ,PROT_READ |PROT_WRITE |PROT_EXEC ,MAP_PRIVATE |MAP_ANONYMOUS ,-1 ,0 ); -if (stack ==MAP_FAILED ) +if (stack ==MAP_FAILED )fatal_perror ("check_ptrace : mmap failed" ); + sp = (unsigned long ) stack +UM_KERN_PAGE_SIZE -sizeof (void *); pid =clone (ptrace_child, (void *) sp,SIGCHLD ,NULL ); -if (pid <0 ) +if (pid <0 )fatal_perror ("start_ptraced_child : clone failed" ); +CATCH_EINTR (n =waitpid (pid, &status,WUNTRACED )); -if (n <0 ) +if (n <0 )fatal_perror ("check_ptrace : clone failed" ); -if (!WIFSTOPPED (status) || (WSTOPSIG (status) !=SIGSTOP )) +if (!WIFSTOPPED (status) || (WSTOPSIG (status) !=SIGSTOP ))fatal ("check_ptrace : expected SIGSTOP, got status = %d" , status);
@@ -132,10 +129,10 @@ static int stop_ptraced_child(int pid, v {int status, n, ret =0 ; -if (ptrace (PTRACE_CONT , pid,0 ,0 ) <0 ) +if (ptrace (PTRACE_CONT , pid,0 ,0 ) <0 )fatal_perror ("stop_ptraced_child : ptrace failed" );CATCH_EINTR (n =waitpid (pid, &status,0 )); -if (!WIFEXITED (status) || (WEXITSTATUS (status) != exitcode)) { +if (!WIFEXITED (status) || (WEXITSTATUS (status) != exitcode)) {int exit_with =WEXITSTATUS (status);if (exit_with ==2 ) non_fatal("check_ptrace : child exited with status 2. "
@@ -148,7 +145,7 @@ static int stop_ptraced_child(int pid, v ret =-1 ; } -if (munmap (stack,UM_KERN_PAGE_SIZE ) <0 ) +if (munmap (stack,UM_KERN_PAGE_SIZE ) <0 )fatal_perror ("check_ptrace : munmap failed" );return ret; }
@@ -209,26 +206,26 @@ static void __init check_sysemu(void) sysemu_supported =0 ; pid =start_ptraced_child (&stack); -if (ptrace (PTRACE_SYSEMU , pid,0 ,0 ) <0 ) +if (ptrace (PTRACE_SYSEMU , pid,0 ,0 ) <0 ) goto fail;CATCH_EINTR (n =waitpid (pid, &status,WUNTRACED ));if (n <0 )fatal_perror ("check_sysemu : wait failed" ); -if (!WIFSTOPPED (status) || (WSTOPSIG (status) !=SIGTRAP )) +if (!WIFSTOPPED (status) || (WSTOPSIG (status) !=SIGTRAP ))fatal ("check_sysemu : expected SIGTRAP, got status = %d" , status); -if (ptrace (PTRACE_GETREGS , pid,0 , regs) <0 ) +if (ptrace (PTRACE_GETREGS , pid,0 , regs) <0 )fatal_perror ("check_sysemu : PTRACE_GETREGS failed" ); -if (PT_SYSCALL_NR (regs) != __NR_getpid){ +if (PT_SYSCALL_NR (regs) != __NR_getpid) {non_fatal ("check_sysemu got system call number %d, " "expected %d..." ,PT_SYSCALL_NR (regs), __NR_getpid); goto fail; } n =ptrace (PTRACE_POKEUSR , pid,PT_SYSCALL_RET_OFFSET ,os_getpid ()); -if (n <0 ){ +if (n <0 ) {non_fatal ("check_sysemu : failed to modify system call " "return" ); goto fail;
@@ -244,30 +241,31 @@ static void __init check_sysemu(void)non_fatal ("Checking advanced syscall emulation patch for ptrace..." ); pid =start_ptraced_child (&stack); -if ((ptrace (PTRACE_OLDSETOPTIONS , pid,0 , +if ((ptrace (PTRACE_OLDSETOPTIONS , pid,0 , (void *)PTRACE_O_TRACESYSGOOD ) <0 ))fatal_perror ("check_ptrace: PTRACE_OLDSETOPTIONS failed" ); -while (1 ){ +while (1 ) { count++; -if (ptrace (PTRACE_SYSEMU_SINGLESTEP , pid,0 ,0 ) <0 ) +if (ptrace (PTRACE_SYSEMU_SINGLESTEP , pid,0 ,0 ) <0 ) goto fail;CATCH_EINTR (n =waitpid (pid, &status,WUNTRACED )); -if (n <0 ) +if (n <0 )fatal_perror ("check_ptrace : wait failed" ); -if (WIFSTOPPED (status) && (WSTOPSIG (status) == (SIGTRAP |0x80 ))){ +if (WIFSTOPPED (status) && + (WSTOPSIG (status) == (SIGTRAP |0x80 ))) {if (!count)fatal ("check_ptrace : SYSEMU_SINGLESTEP " "doesn't singlestep" ); n =ptrace (PTRACE_POKEUSR , pid,PT_SYSCALL_RET_OFFSET ,os_getpid ()); -if (n <0 ) +if (n <0 )fatal_perror ("check_sysemu : failed to modify " "system call return" );break ; } -else if (WIFSTOPPED (status) && (WSTOPSIG (status) ==SIGTRAP )) +else if (WIFSTOPPED (status) && (WSTOPSIG (status) ==SIGTRAP )) count++;else fatal("check_ptrace : expected SIGTRAP or "
@@ -279,7 +277,7 @@ static void __init check_sysemu(void) sysemu_supported =2 ;non_fatal ("OK\n" ); -if ( !force_sysemu_disabled ) +if (!force_sysemu_disabled)set_using_sysemu (sysemu_supported);return ;
@@ -297,29 +295,29 @@ static void __init check_ptrace(void)non_fatal ("Checking that ptrace can change system call numbers..." ); pid =start_ptraced_child (&stack); -if ((ptrace (PTRACE_OLDSETOPTIONS , pid,0 , +if ((ptrace (PTRACE_OLDSETOPTIONS , pid,0 , (void *)PTRACE_O_TRACESYSGOOD ) <0 ))fatal_perror ("check_ptrace: PTRACE_OLDSETOPTIONS failed" ); -while (1 ){ -if (ptrace (PTRACE_SYSCALL , pid,0 ,0 ) <0 ) +while (1 ) { +if (ptrace (PTRACE_SYSCALL , pid,0 ,0 ) <0 )fatal_perror ("check_ptrace : ptrace failed" );CATCH_EINTR (n =waitpid (pid, &status,WUNTRACED )); -if (n <0 ) +if (n <0 )fatal_perror ("check_ptrace : wait failed" ); -if (!WIFSTOPPED (status) || +if (!WIFSTOPPED (status) || (WSTOPSIG (status) != (SIGTRAP |0x80 )))fatal ("check_ptrace : expected (SIGTRAP|0x80), " "got status = %d" , status); syscall =ptrace (PTRACE_PEEKUSR , pid,PT_SYSCALL_NR_OFFSET ,0 ); -if (syscall == __NR_getpid){ +if (syscall == __NR_getpid) { n =ptrace (PTRACE_POKEUSR , pid,PT_SYSCALL_NR_OFFSET , __NR_getppid); -if (n <0 ) +if (n <0 )fatal_perror ("check_ptrace : failed to modify " "system call" );break ;
@@ -337,18 +335,18 @@ static void __init check_coredump_limit(struct rlimit lim;int err =getrlimit (RLIMIT_CORE , &lim); -if (err){ +if (err) {perror ("Getting core dump limit" );return ; }printf ("Core dump limits :\n\tsoft - " ); -if (lim.rlim_cur ==RLIM_INFINITY ) +if (lim.rlim_cur ==RLIM_INFINITY )printf ("NONE\n" );else printf ("%lu\n" , lim.rlim_cur);printf ("\thard - " ); -if (lim.rlim_max ==RLIM_INFINITY ) +if (lim.rlim_max ==RLIM_INFINITY )printf ("NONE\n" );else printf ("%lu\n" , lim.rlim_max); }
@@ -414,7 +412,7 @@ static inline void check_skas3_ptrace_fa n =ptrace (PTRACE_FAULTINFO , pid,0 , &fi);if (n <0 ) { ptrace_faultinfo =0 ; -if (errno ==EIO ) +if (errno ==EIO )non_fatal ("not found\n" );else perror ("not found" );
@@ -446,7 +444,7 @@ static inline void check_skas3_ptrace_ld n =ptrace (PTRACE_LDT , pid,0 , (unsigned long ) &ldt_op);if (n <0 ) { -if (errno ==EIO ) +if (errno ==EIO )non_fatal ("not found\n" );else {perror ("not found" );
@@ -454,7 +452,7 @@ static inline void check_skas3_ptrace_ld ptrace_ldt =0 ; }else { -if (ptrace_ldt) +if (ptrace_ldt)non_fatal ("found\n" );else non_fatal ("found, but use is disabled\n" );
@@ -477,12 +475,9 @@ static inline void check_skas3_proc_mm(v proc_mm =0 ;perror ("not found" ); } -else { -if (!proc_mm) -non_fatal ("found but disabled on command line\n" ); -else -non_fatal ("found\n" ); - } +else if (!proc_mm) +non_fatal ("found but disabled on command line\n" ); +else non_fatal ("found\n" ); }int can_do_skas (void )
@@ -493,7 +488,7 @@ int can_do_skas(void)check_skas3_ptrace_faultinfo ();check_skas3_ptrace_ldt (); -if (!proc_mm || !ptrace_faultinfo || !ptrace_ldt) +if (!proc_mm || !ptrace_faultinfo || !ptrace_ldt) skas_needs_stub =1 ;return 1 ;
@@ -508,25 +503,25 @@ int __init parse_iomem(char *str, int *a driver = str; file =strchr (str,',' ); -if (file ==NULL ){ +if (file ==NULL ) {printf ("parse_iomem : failed to parse iomem\n" ); goto out; } *file ='\0' ; file++; fd =open (file,O_RDWR ,0 ); -if (fd <0 ){ +if (fd <0 ) {os_print_error (fd,"parse_iomem - Couldn't open io file" ); goto out; } -if (fstat64 (fd, &buf) <0 ){ +if (fstat64 (fd, &buf) <0 ) {perror ("parse_iomem - cannot stat_fd file" ); goto out_close; } new =malloc (sizeof (*new)); -if (new ==NULL ){ +if (new ==NULL ) {perror ("Couldn't allocate iomem_region struct" ); goto out_close; }
include/asm-um/processor-generic.h +8 -5
@@ -1,5 +1,5 @@/* -* Copyright (C) 2000, 2001, 2002 Jeff Dike ([email protected]) +* Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Licensed under the GPL */
@@ -17,11 +17,14 @@ struct task_struct;struct mm_struct ;struct thread_struct { -/* This flag is set to 1 before calling do_fork (and analyzed in +struct task_struct *saved_task; +/* +* This flag is set to 1 before calling do_fork (and analyzed in * copy_thread) to mark that we are begin called from userspace (fork / * vfork / clone), and reset to 0 after. It is left to 0 when called -* from kernelspace (i.e. kernel_thread() or fork_idle(), as of 2.6.11). */ -struct task_struct *saved_task; +* from kernelspace (i.e. kernel_thread() or fork_idle(), +* as of 2.6.11). +*/ int forking;int nsyscalls;struct pt_regs regs;
@@ -56,7 +59,7 @@ struct thread_struct { { \ .forking = 0, \ .nsyscalls = 0, \ - .regs = EMPTY_REGS, \ + .regs = EMPTY_REGS, \ .fault_addr = NULL, \ .prev_sched = NULL, \ .temp_stack = 0, \
arch/um/kernel/process.c +47 -63
260 lines not on this page · raw message
arch/um/sys-i386/signal.c +30 -32
165 lines not on this page · raw message
arch/um/kernel/reboot.c +4 -8
@@ -1,13 +1,9 @@/* -* Copyright (C) 2000, 2002 Jeff Dike ([email protected]) +* Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Licensed under the GPL */ -#include "linux/module.h" #include "linux/sched.h" -#include "asm/smp.h" -#include "kern_util.h" -#include "kern.h" #include "os.h" #include "skas.h"
@@ -37,20 +33,20 @@ static void kill_off_processes(void)void uml_cleanup (void ) { - kmalloc_ok =0 ; + kmalloc_ok =0 ;do_uml_exitcalls ();kill_off_processes (); }void machine_restart (char * __unused) { -uml_cleanup (); +uml_cleanup ();reboot_skas (); }void machine_power_off (void ) { -uml_cleanup (); +uml_cleanup ();halt_skas (); }
arch/um/sys-x86_64/syscalls.c +33 -35
119 lines not on this page · raw message
arch/um/sys-i386/tls.c +44 -30
162 lines not on this page · raw message
arch/um/os-Linux/main.c +41 -39
207 lines not on this page · raw message
arch/um/sys-i386/ldt.c +105 -112
468 lines not on this page · raw message
arch/um/kernel/um_arch.c +31 -43
163 lines not on this page · raw message
include/asm-um/mmu_context.h +1 -12
@@ -1,5 +1,5 @@/* -* Copyright (C) 2002 Jeff Dike ([email protected]) +* Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Licensed under the GPL */
@@ -55,14 +55,3 @@ extern int init_new_context(struct task_extern void destroy_context (struct mm_struct *mm);#endif - -/* -* Overrides for Emacs so that we follow Linus's tabbing style. -* Emacs will notice this stuff at the end of the file and automatically -* adjust the settings for this buffer only. This must remain at the end -* of the file. -* --------------------------------------------------------------------------- -* Local variables: -* c-file-style: "linux" -* End: -*/
arch/um/sys-x86_64/signal.c +65 -80
219 lines not on this page · raw message
arch/um/sys-i386/ptrace.c +46 -61
194 lines not on this page · raw message
arch/um/kernel/exec.c +18 -23
87 lines not on this page · raw message
arch/um/include/sysdep-i386/ptrace.h +6 -6
@@ -97,12 +97,12 @@ struct syscall_args { };#define SYSCALL_ARGS (r) ((struct syscall_args) \ - { .args = { UPT_SYSCALL_ARG1(r), \ - UPT_SYSCALL_ARG2(r), \ - UPT_SYSCALL_ARG3(r), \ - UPT_SYSCALL_ARG4(r), \ - UPT_SYSCALL_ARG5(r), \ - UPT_SYSCALL_ARG6(r) } } ) + { .args = { UPT_SYSCALL_ARG1(r), \ + UPT_SYSCALL_ARG2(r), \ + UPT_SYSCALL_ARG3(r), \ + UPT_SYSCALL_ARG4(r), \ + UPT_SYSCALL_ARG5(r), \ + UPT_SYSCALL_ARG6(r) } } )#define UPT_REG (regs, reg) \ ({ unsigned long val; \
arch/um/include/irq_user.h +2 -2
@@ -1,12 +1,12 @@/* -* Copyright (C) 2001, 2002 Jeff Dike ([email protected]) +* Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Licensed under the GPL */ #ifndef __IRQ_USER_H__ #define __IRQ_USER_H__ -#include "uml-config.h" +#include "sysdep/ptrace.h" struct irq_fd { struct irq_fd *next;
arch/um/include/os.h +7 -9
@@ -1,20 +1,18 @@/* -* Copyright (C) 2002 Jeff Dike ([email protected]) +* Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Licensed under the GPL */ #ifndef __OS_H__#define __OS_H__ -#include "uml-config.h" -#include "asm/types.h" -#include "../os/include/file.h" -#include "sysdep/ptrace.h" -#include "kern_util.h" -#include "skas/mm_id.h" +#include <stdarg.h> #include "irq_user.h" +#include "kern_util.h" +#include "longjmp.h" +#include "mm_id.h" #include "sysdep/tls.h" -#include "sysdep/archsetjmp.h" +#include "../os/include/file.h" #define CATCH_EINTR (expr) while ((errno = 0, ((expr) < 0)) && (errno == EINTR))
@@ -140,7 +138,7 @@ extern int os_set_slip(int fd);extern int os_set_owner (int fd,int pid);extern int os_mode_fd (int fd,int mode); -extern int os_seek_file (int fd,__u64 offset); +extern int os_seek_file (int fd,unsigned long long offset);extern int os_open_file (char *file,struct openflags flags,int mode);extern int os_read_file (int fd,void *buf,int len);extern int os_write_file (int fd,const void *buf,int count);
arch/um/os-Linux/process.c +50 -50
215 lines not on this page · raw message
arch/um/include/kern_util.h +1 -2
@@ -1,5 +1,5 @@/* -* Copyright (C) 2000, 2001, 2002 Jeff Dike ([email protected]) +* Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Licensed under the GPL */
@@ -8,7 +8,6 @@#include "sysdep/ptrace.h" #include "sysdep/faultinfo.h" -#include "uml-config.h" typedef void (*kern_hndl )(int ,struct uml_pt_regs *);
arch/um/os-Linux/file.c +2 -2
@@ -267,9 +267,9 @@ void os_close_file(int fd)close (fd); } -int os_seek_file (int fd,__u64 offset) +int os_seek_file (int fd,unsigned long long offset) { -__u64 actual; +unsigned long long actual; actual =lseek64 (fd, offset,SEEK_SET );if (actual != offset)
arch/um/kernel/irq.c +38 -47
189 lines not on this page · raw message
arch/um/kernel/physmem.c +5 -4
@@ -75,7 +75,7 @@ void map_memory(unsigned long virt, unsi err =os_map_memory ((void *) virt, fd, offset, len, r, w, x);if (err) {if (err == -ENOMEM ) -printk ("try increasing the host's " +printk (KERN_ERR "try increasing the host's " "/proc/sys/vm/max_map_count to <physical " "memory size>/4096\n" ); panic("map_memory(0x%lx, %d, 0x%llx, %ld, %d, %d, %d) failed, "
@@ -103,7 +103,8 @@ void __init setup_physmem(unsigned longexit (1 ); } -/* Special kludge - This page will be mapped in to userspace processes +/* +* Special kludge - This page will be mapped in to userspace processes * from physmem_fd, so it needs to be written out there. */ os_seek_file (physmem_fd,__pa (&__syscall_stub_start));
@@ -202,8 +203,8 @@ int setup_iomem(void) err =os_map_memory ((void *) iomem_start, region->fd,0 , region->size,1 ,1 ,0 );if (err) -printk ("Mapping iomem region for driver '%s' failed, " -"errno = %d\n" , region->driver, -err); +printk (KERN_ERR "Mapping iomem region for driver '%s' " +"failed, errno = %d\n" , region->driver, -err);else {
Lines of this file are not shown. View the raw message.
arch/um/kernel/tlb.c +79 -79
158 lines not on this page · raw message
arch/um/os-Linux/aio.c +59 -53
112 lines not on this page · raw message
arch/um/os-Linux/signal.c +51 -45
96 lines not on this page · raw message
arch/um/kernel/ptrace.c +56 -58
114 lines not on this page · raw message
arch/um/kernel/signal.c +26 -32
58 lines not on this page · raw message
arch/um/kernel/skas/mmu.c +29 -35
64 lines not on this page · raw message
arch/um/os-Linux/skas/mem.c +47 -47
94 lines not on this page · raw message
arch/um/os-Linux/skas/process.c +117 -112
229 lines not on this page · raw message
arch/um/sys-i386/bugs.c +56 -50
106 lines not on this page · raw message
arch/um/os-Linux/umid.c +74 -62
136 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Part of the diff is not shown here. View the raw message.