uml: style fixes

A few random style fixes.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Jeff Dike 2008-05-12 14:01:48 -07:00 committed by Linus Torvalds
parent 53c2587874
commit 96cee3044d
4 changed files with 4 additions and 15 deletions

View File

@ -1,5 +1,5 @@
/* /*
* 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 @@
#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:
*/

View File

@ -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); \

View File

@ -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;
} }