Skip to content

Commit

Permalink
x86: coding style fixes to arch/x86/oprofile/init.c
Browse files Browse the repository at this point in the history
Before:
   total: 5 errors, 4 warnings, 48 lines checked
After:
   total: 0 errors, 4 warnings, 49 lines checked

No code changed:

arch/x86/oprofile/init.o:

   text	   data	    bss	    dec	    hex	filename
     42	      0	      0	     42	     2a	init.o.before
     42	      0	      0	     42	     2a	init.o.after

md5:
   74c94c315cfbf245aeba36eceac57e66  init.o.before.asm
   74c94c315cfbf245aeba36eceac57e66  init.o.after.asm

Signed-off-by: Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Paolo Ciarrocchi authored and Ingo Molnar committed Apr 17, 2008
1 parent 65eb6b4 commit d717ca8
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions arch/x86/oprofile/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,19 @@
#include <linux/oprofile.h>
#include <linux/init.h>
#include <linux/errno.h>

/* We support CPUs that have performance counters like the Pentium Pro

/*
* We support CPUs that have performance counters like the Pentium Pro
* with the NMI mode driver.
*/
extern int op_nmi_init(struct oprofile_operations * ops);
extern int op_nmi_timer_init(struct oprofile_operations * ops);

extern int op_nmi_init(struct oprofile_operations *ops);
extern int op_nmi_timer_init(struct oprofile_operations *ops);
extern void op_nmi_exit(void);
extern void x86_backtrace(struct pt_regs * const regs, unsigned int depth);


int __init oprofile_arch_init(struct oprofile_operations * ops)
int __init oprofile_arch_init(struct oprofile_operations *ops)
{
int ret;

Expand Down

0 comments on commit d717ca8

Please sign in to comment.