Skip to content

Commit

Permalink
uml: style fixes
Browse files Browse the repository at this point in the history
A few random style fixes.

Signed-off-by: Jeff Dike <[email protected]>
Cc: WANG Cong <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
cfd-36 authored and torvalds committed May 13, 2008
1 parent 53c2587 commit 96cee30
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 15 deletions.
13 changes: 1 addition & 12 deletions arch/um/include/skas_ptrace.h
Original file line number Diff line number Diff line change
@@ -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
*/

Expand All @@ -12,14 +12,3 @@
#include "sysdep/skas_ptrace.h"

#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:
*/
2 changes: 1 addition & 1 deletion arch/um/include/sysdep-i386/sigcontext.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#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).error_code = SC_ERR(sc); \
Expand Down
2 changes: 1 addition & 1 deletion arch/um/kernel/um_arch.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ __uml_setup("root=", uml_root_setup,
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("'gdb linux'");
printf("'gdb linux'\n");

return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion arch/um/os-Linux/skas/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ void userspace(struct uml_pt_regs *regs)
unblock_signals();
break;
default:
printk(UM_KERN_ERR "userspace - child stopped "
printk(UM_KERN_ERR "userspace - child stopped "
"with signal %d\n", sig);
fatal_sigsegv();
}
Expand Down

0 comments on commit 96cee30

Please sign in to comment.