Commit 96cee304 authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds

uml: style fixes

A few random style fixes.
Signed-off-by: default avatarJeff Dike <jdike@linux.intel.com>
Cc: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 53c25878
/* /*
* Copyright (C) 2000, 2001, 2002 Jeff Dike (jdike@karaya.com) * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
* Licensed under the GPL * Licensed under the GPL
*/ */
...@@ -12,14 +12,3 @@ ...@@ -12,14 +12,3 @@
#include "sysdep/skas_ptrace.h" #include "sysdep/skas_ptrace.h"
#endif #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:
*/
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#define IP_RESTART_SYSCALL(ip) ((ip) -= 2) #define IP_RESTART_SYSCALL(ip) ((ip) -= 2)
#define GET_FAULTINFO_FROM_SC(fi,sc) \ #define GET_FAULTINFO_FROM_SC(fi, sc) \
{ \ { \
(fi).cr2 = SC_CR2(sc); \ (fi).cr2 = SC_CR2(sc); \
(fi).error_code = SC_ERR(sc); \ (fi).error_code = SC_ERR(sc); \
......
...@@ -150,7 +150,7 @@ __uml_setup("root=", uml_root_setup, ...@@ -150,7 +150,7 @@ __uml_setup("root=", uml_root_setup,
static int __init no_skas_debug_setup(char *line, int *add) static int __init no_skas_debug_setup(char *line, int *add)
{ {
printf("'debug' is not necessary to gdb UML in skas mode - run \n"); printf("'debug' is not necessary to gdb UML in skas mode - run \n");
printf("'gdb linux'"); printf("'gdb linux'\n");
return 0; return 0;
} }
......
...@@ -442,7 +442,7 @@ void userspace(struct uml_pt_regs *regs) ...@@ -442,7 +442,7 @@ void userspace(struct uml_pt_regs *regs)
unblock_signals(); unblock_signals();
break; break;
default: default:
printk(UM_KERN_ERR "userspace - child stopped " printk(UM_KERN_ERR "userspace - child stopped "
"with signal %d\n", sig); "with signal %d\n", sig);
fatal_sigsegv(); fatal_sigsegv();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment