]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
x86: coding style fixes to arch/x86/oprofile/nmi_timer_int.c
authorPaolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
Fri, 22 Feb 2008 22:11:34 +0000 (23:11 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:40:50 +0000 (17:40 +0200)
Before:
   total: 3 errors, 0 warnings, 69 lines checked
After:
   total: 0 errors, 0 warnings, 69 lines checked

No code changed:

arch/x86/oprofile/nmi_timer_int.o:

   text    data     bss     dec     hex filename
    180      12       0     192      c0 nmi_timer_int.o.before
    180      12       0     192      c0 nmi_timer_int.o.after

md5:
   0433c31d758e81da574e01722a8036ea  nmi_timer_int.o.before.asm
   0433c31d758e81da574e01722a8036ea  nmi_timer_int.o.after.asm

Signed-off-by: Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/oprofile/nmi_timer_int.c

index 1418e36ae7aba63e0274b45618370142ceb4b53d..e3ecb71b5790228073d5eb089f4a4fc9303ab09a 100644 (file)
 #include <asm/nmi.h>
 #include <asm/apic.h>
 #include <asm/ptrace.h>
+
 static int profile_timer_exceptions_notify(struct notifier_block *self,
                                           unsigned long val, void *data)
 {
        struct die_args *args = (struct die_args *)data;
        int ret = NOTIFY_DONE;
 
-       switch(val) {
+       switch (val) {
        case DIE_NMI:
                oprofile_add_sample(args->regs, 0);
                ret = NOTIFY_STOP;
@@ -56,7 +56,7 @@ static void timer_stop(void)
 }
 
 
-int __init op_nmi_timer_init(struct oprofile_operations * ops)
+int __init op_nmi_timer_init(struct oprofile_operations *ops)
 {
        if ((nmi_watchdog != NMI_IO_APIC) || (atomic_read(&nmi_active) <= 0))
                return -ENODEV;