aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/um_arch.c
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2008-02-05 01:31:14 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 12:44:30 -0500
commitc5d4bb171cab17576779a51d23d313abcb3db102 (patch)
tree6470c3c55b172db68dfd4f880c60da72e30c488f /arch/um/kernel/um_arch.c
parente6a2d1f7024f93e4622cd7ba633666a63ccce49e (diff)
uml: style fixes in arch/um/kernel
Joe Perches noticed some printks in smp.c that needed fixing. While I was in there, I did the usual tidying in arch/um/kernel, which should be fairly style-clean at this point: copyright updates emacs formatting comments removal include tidying style fixes Cc: Joe Perches <joe@perches.com> Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/kernel/um_arch.c')
-rw-r--r--arch/um/kernel/um_arch.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c
index cb7eef833bc8..468aba990dbd 100644
--- a/arch/um/kernel/um_arch.c
+++ b/arch/um/kernel/um_arch.c
@@ -3,23 +3,23 @@
3 * Licensed under the GPL 3 * Licensed under the GPL
4 */ 4 */
5 5
6#include "linux/delay.h" 6#include <linux/delay.h>
7#include "linux/mm.h" 7#include <linux/init.h>
8#include "linux/module.h" 8#include <linux/mm.h>
9#include "linux/seq_file.h" 9#include <linux/module.h>
10#include "linux/string.h" 10#include <linux/seq_file.h>
11#include "linux/utsname.h" 11#include <linux/string.h>
12#include "asm/pgtable.h" 12#include <linux/utsname.h>
13#include "asm/processor.h" 13#include <asm/pgtable.h>
14#include "asm/setup.h" 14#include <asm/processor.h>
15#include "arch.h" 15#include <asm/setup.h>
16#include "as-layout.h" 16#include "as-layout.h"
17#include "arch.h"
17#include "init.h" 18#include "init.h"
18#include "kern.h" 19#include "kern.h"
19#include "kern_util.h" 20#include "kern_util.h"
20#include "mem_user.h" 21#include "mem_user.h"
21#include "os.h" 22#include "os.h"
22#include "skas.h"
23 23
24#define DEFAULT_COMMAND_LINE "root=98:0" 24#define DEFAULT_COMMAND_LINE "root=98:0"
25 25
@@ -201,7 +201,7 @@ static void __init uml_checksetup(char *line, int *add)
201 struct uml_param *p; 201 struct uml_param *p;
202 202
203 p = &__uml_setup_start; 203 p = &__uml_setup_start;
204 while(p < &__uml_setup_end) { 204 while (p < &__uml_setup_end) {
205 int n; 205 int n;
206 206
207 n = strlen(p->str); 207 n = strlen(p->str);
@@ -216,7 +216,7 @@ static void __init uml_postsetup(void)
216 initcall_t *p; 216 initcall_t *p;
217 217
218 p = &__uml_postsetup_start; 218 p = &__uml_postsetup_start;
219 while(p < &__uml_postsetup_end) { 219 while (p < &__uml_postsetup_end) {
220 (*p)(); 220 (*p)();
221 p++; 221 p++;
222 } 222 }