@@ -63,8 +63,8 @@ struct cpuinfo_um boot_cpu_data = {
6363
6464unsigned long thread_saved_pc (struct task_struct * task )
6565{
66- return ( os_process_pc (CHOOSE_MODE_PROC (thread_pid_tt , thread_pid_skas ,
67- task ))) ;
66+ return os_process_pc (CHOOSE_MODE_PROC (thread_pid_tt , thread_pid_skas ,
67+ task ));
6868}
6969
7070static int show_cpuinfo (struct seq_file * m , void * v )
@@ -86,7 +86,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
8686 loops_per_jiffy /(500000 /HZ ),
8787 (loops_per_jiffy /(5000 /HZ )) % 100 );
8888
89- return ( 0 ) ;
89+ return 0 ;
9090}
9191
9292static void * c_start (struct seq_file * m , loff_t * pos )
@@ -212,12 +212,12 @@ __uml_setup("debug", no_skas_debug_setup,
212212#ifdef CONFIG_SMP
213213static int __init uml_ncpus_setup (char * line , int * add )
214214{
215- if (!sscanf (line , "%d" , & ncpus )) {
216- printf ("Couldn't parse [%s]\n" , line );
217- return -1 ;
218- }
215+ if (!sscanf (line , "%d" , & ncpus )) {
216+ printf ("Couldn't parse [%s]\n" , line );
217+ return -1 ;
218+ }
219219
220- return 0 ;
220+ return 0 ;
221221}
222222
223223__uml_setup ("ncpus=" , uml_ncpus_setup ,
@@ -234,7 +234,7 @@ static int force_tt = 0;
234234static int __init mode_tt_setup (char * line , int * add )
235235{
236236 force_tt = 1 ;
237- return ( 0 ) ;
237+ return 0 ;
238238}
239239
240240#else
@@ -245,7 +245,7 @@ static int __init mode_tt_setup(char *line, int *add)
245245static int __init mode_tt_setup (char * line , int * add )
246246{
247247 printf ("CONFIG_MODE_TT disabled - 'mode=tt' ignored\n" );
248- return ( 0 ) ;
248+ return 0 ;
249249}
250250
251251#else
@@ -256,7 +256,7 @@ static int __init mode_tt_setup(char *line, int *add)
256256static int __init mode_tt_setup (char * line , int * add )
257257{
258258 printf ("CONFIG_MODE_SKAS disabled - 'mode=tt' redundant\n" );
259- return ( 0 ) ;
259+ return 0 ;
260260}
261261
262262#endif
@@ -274,16 +274,15 @@ int mode_tt = DEFAULT_TT;
274274
275275static int __init Usage (char * line , int * add )
276276{
277- const char * * p ;
277+ const char * * p ;
278278
279279 printf (usage_string , init_utsname ()-> release );
280- p = & __uml_help_start ;
281- while (p < & __uml_help_end ) {
282- printf ("%s" , * p );
283- p ++ ;
284- }
280+ p = & __uml_help_start ;
281+ while (p < & __uml_help_end ) {
282+ printf ("%s" , * p );
283+ p ++ ;
284+ }
285285 exit (0 );
286-
287286 return 0 ;
288287}
289288
@@ -379,8 +378,8 @@ int __init linux_main(int argc, char **argv)
379378 set_task_sizes_skas , & task_size );
380379
381380 /*
382- * Setting up handlers to 'sig_info' struct
383- */
381+ * Setting up handlers to 'sig_info' struct
382+ */
384383 os_fill_handlinfo (handlinfo_kern );
385384
386385 brk_start = (unsigned long ) sbrk (0 );
@@ -407,7 +406,7 @@ int __init linux_main(int argc, char **argv)
407406 argv1_begin = argv [1 ];
408407 argv1_end = & argv [1 ][strlen (argv [1 ])];
409408#endif
410-
409+
411410 highmem = 0 ;
412411 iomem_size = (iomem_size + PAGE_SIZE - 1 ) & PAGE_MASK ;
413412 max_physmem = get_kmem_end () - uml_physmem - iomem_size - MIN_VMALLOC ;
@@ -449,12 +448,12 @@ int __init linux_main(int argc, char **argv)
449448 printf ("Kernel virtual memory size shrunk to %lu bytes\n" ,
450449 virtmem_size );
451450
452- uml_postsetup ();
451+ uml_postsetup ();
453452
454453 task_protections ((unsigned long ) & init_thread_info );
455454 os_flush_stdout ();
456455
457- return ( CHOOSE_MODE (start_uml_tt (), start_uml_skas () ));
456+ return CHOOSE_MODE (start_uml_tt (), start_uml_skas ());
458457}
459458
460459extern int uml_exitcode ;
@@ -467,7 +466,7 @@ static int panic_exit(struct notifier_block *self, unsigned long unused1,
467466 bust_spinlocks (0 );
468467 uml_exitcode = 1 ;
469468 machine_halt ();
470- return ( 0 ) ;
469+ return 0 ;
471470}
472471
473472static struct notifier_block panic_exit_notifier = {
@@ -482,14 +481,14 @@ void __init setup_arch(char **cmdline_p)
482481 & panic_exit_notifier );
483482 paging_init ();
484483 strlcpy (boot_command_line , command_line , COMMAND_LINE_SIZE );
485- * cmdline_p = command_line ;
484+ * cmdline_p = command_line ;
486485 setup_hostinfo ();
487486}
488487
489488void __init check_bugs (void )
490489{
491490 arch_check_bugs ();
492- os_check_bugs ();
491+ os_check_bugs ();
493492}
494493
495494void apply_alternatives (struct alt_instr * start , struct alt_instr * end )
0 commit comments