diff options
author | Robert Richter <robert.richter@amd.com> | 2008-09-05 11:12:36 -0400 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2008-10-15 14:55:51 -0400 |
commit | 25ad2913cae9c9e3ed28075caeb2eefccd636f4f (patch) | |
tree | dc0cc534beb4ccf487f9f6f3c7382bc559f0a35d /arch | |
parent | c92960fccb9f32a1d6110f6dcfe483ed96c62beb (diff) |
oprofile: more whitespace fixes
Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/alpha/oprofile/common.c | 2 | ||||
-rw-r--r-- | arch/ia64/oprofile/init.c | 4 | ||||
-rw-r--r-- | arch/ia64/oprofile/perfmon.c | 4 | ||||
-rw-r--r-- | arch/m32r/oprofile/init.c | 2 | ||||
-rw-r--r-- | arch/mips/oprofile/common.c | 2 | ||||
-rw-r--r-- | arch/mips/oprofile/op_impl.h | 2 | ||||
-rw-r--r-- | arch/mips/oprofile/op_model_rm9000.c | 2 | ||||
-rw-r--r-- | arch/parisc/oprofile/init.c | 2 | ||||
-rw-r--r-- | arch/powerpc/oprofile/op_model_cell.c | 2 | ||||
-rw-r--r-- | arch/sparc/oprofile/init.c | 2 | ||||
-rw-r--r-- | arch/sparc64/oprofile/init.c | 2 | ||||
-rw-r--r-- | arch/x86/oprofile/backtrace.c | 2 | ||||
-rw-r--r-- | arch/x86/oprofile/op_model_amd.c | 6 | ||||
-rw-r--r-- | arch/x86/oprofile/op_x86_model.h | 4 |
14 files changed, 19 insertions, 19 deletions
diff --git a/arch/alpha/oprofile/common.c b/arch/alpha/oprofile/common.c index 7c3d5ec6ec67..bd8ac533a504 100644 --- a/arch/alpha/oprofile/common.c +++ b/arch/alpha/oprofile/common.c | |||
@@ -106,7 +106,7 @@ op_axp_stop(void) | |||
106 | } | 106 | } |
107 | 107 | ||
108 | static int | 108 | static int |
109 | op_axp_create_files(struct super_block * sb, struct dentry * root) | 109 | op_axp_create_files(struct super_block *sb, struct dentry *root) |
110 | { | 110 | { |
111 | int i; | 111 | int i; |
112 | 112 | ||
diff --git a/arch/ia64/oprofile/init.c b/arch/ia64/oprofile/init.c index 125a602a660d..31b545c35460 100644 --- a/arch/ia64/oprofile/init.c +++ b/arch/ia64/oprofile/init.c | |||
@@ -12,11 +12,11 @@ | |||
12 | #include <linux/init.h> | 12 | #include <linux/init.h> |
13 | #include <linux/errno.h> | 13 | #include <linux/errno.h> |
14 | 14 | ||
15 | extern int perfmon_init(struct oprofile_operations * ops); | 15 | extern int perfmon_init(struct oprofile_operations *ops); |
16 | extern void perfmon_exit(void); | 16 | extern void perfmon_exit(void); |
17 | extern void ia64_backtrace(struct pt_regs * const regs, unsigned int depth); | 17 | extern void ia64_backtrace(struct pt_regs * const regs, unsigned int depth); |
18 | 18 | ||
19 | int __init oprofile_arch_init(struct oprofile_operations * ops) | 19 | int __init oprofile_arch_init(struct oprofile_operations *ops) |
20 | { | 20 | { |
21 | int ret = -ENODEV; | 21 | int ret = -ENODEV; |
22 | 22 | ||
diff --git a/arch/ia64/oprofile/perfmon.c b/arch/ia64/oprofile/perfmon.c index bc41dd32fec6..192d3e8e1f65 100644 --- a/arch/ia64/oprofile/perfmon.c +++ b/arch/ia64/oprofile/perfmon.c | |||
@@ -56,7 +56,7 @@ static pfm_buffer_fmt_t oprofile_fmt = { | |||
56 | }; | 56 | }; |
57 | 57 | ||
58 | 58 | ||
59 | static char * get_cpu_type(void) | 59 | static char *get_cpu_type(void) |
60 | { | 60 | { |
61 | __u8 family = local_cpu_data->family; | 61 | __u8 family = local_cpu_data->family; |
62 | 62 | ||
@@ -75,7 +75,7 @@ static char * get_cpu_type(void) | |||
75 | 75 | ||
76 | static int using_perfmon; | 76 | static int using_perfmon; |
77 | 77 | ||
78 | int perfmon_init(struct oprofile_operations * ops) | 78 | int perfmon_init(struct oprofile_operations *ops) |
79 | { | 79 | { |
80 | int ret = pfm_register_buffer_fmt(&oprofile_fmt); | 80 | int ret = pfm_register_buffer_fmt(&oprofile_fmt); |
81 | if (ret) | 81 | if (ret) |
diff --git a/arch/m32r/oprofile/init.c b/arch/m32r/oprofile/init.c index b7773e45c43f..fa56860f4258 100644 --- a/arch/m32r/oprofile/init.c +++ b/arch/m32r/oprofile/init.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/errno.h> | 12 | #include <linux/errno.h> |
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | 14 | ||
15 | int __init oprofile_arch_init(struct oprofile_operations * ops) | 15 | int __init oprofile_arch_init(struct oprofile_operations *ops) |
16 | { | 16 | { |
17 | return -ENODEV; | 17 | return -ENODEV; |
18 | } | 18 | } |
diff --git a/arch/mips/oprofile/common.c b/arch/mips/oprofile/common.c index dd2fbd6645c1..3bf3354547f6 100644 --- a/arch/mips/oprofile/common.c +++ b/arch/mips/oprofile/common.c | |||
@@ -32,7 +32,7 @@ static int op_mips_setup(void) | |||
32 | return 0; | 32 | return 0; |
33 | } | 33 | } |
34 | 34 | ||
35 | static int op_mips_create_files(struct super_block * sb, struct dentry * root) | 35 | static int op_mips_create_files(struct super_block *sb, struct dentry *root) |
36 | { | 36 | { |
37 | int i; | 37 | int i; |
38 | 38 | ||
diff --git a/arch/mips/oprofile/op_impl.h b/arch/mips/oprofile/op_impl.h index 2bfc17c30106..f04b54fb37d1 100644 --- a/arch/mips/oprofile/op_impl.h +++ b/arch/mips/oprofile/op_impl.h | |||
@@ -27,7 +27,7 @@ struct op_counter_config { | |||
27 | /* Per-architecture configury and hooks. */ | 27 | /* Per-architecture configury and hooks. */ |
28 | struct op_mips_model { | 28 | struct op_mips_model { |
29 | void (*reg_setup) (struct op_counter_config *); | 29 | void (*reg_setup) (struct op_counter_config *); |
30 | void (*cpu_setup) (void * dummy); | 30 | void (*cpu_setup) (void *dummy); |
31 | int (*init)(void); | 31 | int (*init)(void); |
32 | void (*exit)(void); | 32 | void (*exit)(void); |
33 | void (*cpu_start)(void *args); | 33 | void (*cpu_start)(void *args); |
diff --git a/arch/mips/oprofile/op_model_rm9000.c b/arch/mips/oprofile/op_model_rm9000.c index a45d3202894f..3aa81384966d 100644 --- a/arch/mips/oprofile/op_model_rm9000.c +++ b/arch/mips/oprofile/op_model_rm9000.c | |||
@@ -80,7 +80,7 @@ static void rm9000_cpu_stop(void *args) | |||
80 | write_c0_perfcontrol(0); | 80 | write_c0_perfcontrol(0); |
81 | } | 81 | } |
82 | 82 | ||
83 | static irqreturn_t rm9000_perfcount_handler(int irq, void * dev_id) | 83 | static irqreturn_t rm9000_perfcount_handler(int irq, void *dev_id) |
84 | { | 84 | { |
85 | unsigned int control = read_c0_perfcontrol(); | 85 | unsigned int control = read_c0_perfcontrol(); |
86 | struct pt_regs *regs = get_irq_regs(); | 86 | struct pt_regs *regs = get_irq_regs(); |
diff --git a/arch/parisc/oprofile/init.c b/arch/parisc/oprofile/init.c index 113f5139f551..026cba2af07a 100644 --- a/arch/parisc/oprofile/init.c +++ b/arch/parisc/oprofile/init.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
13 | #include <linux/oprofile.h> | 13 | #include <linux/oprofile.h> |
14 | 14 | ||
15 | int __init oprofile_arch_init(struct oprofile_operations * ops) | 15 | int __init oprofile_arch_init(struct oprofile_operations *ops) |
16 | { | 16 | { |
17 | return -ENODEV; | 17 | return -ENODEV; |
18 | } | 18 | } |
diff --git a/arch/powerpc/oprofile/op_model_cell.c b/arch/powerpc/oprofile/op_model_cell.c index 5ff4de3eb3be..35141a8bc3d9 100644 --- a/arch/powerpc/oprofile/op_model_cell.c +++ b/arch/powerpc/oprofile/op_model_cell.c | |||
@@ -404,7 +404,7 @@ set_count_mode(u32 kernel, u32 user) | |||
404 | } | 404 | } |
405 | } | 405 | } |
406 | 406 | ||
407 | static inline void enable_ctr(u32 cpu, u32 ctr, u32 * pm07_cntrl) | 407 | static inline void enable_ctr(u32 cpu, u32 ctr, u32 *pm07_cntrl) |
408 | { | 408 | { |
409 | 409 | ||
410 | pm07_cntrl[ctr] |= CBE_PM_CTR_ENABLE; | 410 | pm07_cntrl[ctr] |= CBE_PM_CTR_ENABLE; |
diff --git a/arch/sparc/oprofile/init.c b/arch/sparc/oprofile/init.c index 9ab815b95b5a..17bb6035069b 100644 --- a/arch/sparc/oprofile/init.c +++ b/arch/sparc/oprofile/init.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/errno.h> | 12 | #include <linux/errno.h> |
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | 14 | ||
15 | int __init oprofile_arch_init(struct oprofile_operations * ops) | 15 | int __init oprofile_arch_init(struct oprofile_operations *ops) |
16 | { | 16 | { |
17 | return -ENODEV; | 17 | return -ENODEV; |
18 | } | 18 | } |
diff --git a/arch/sparc64/oprofile/init.c b/arch/sparc64/oprofile/init.c index 9ab815b95b5a..17bb6035069b 100644 --- a/arch/sparc64/oprofile/init.c +++ b/arch/sparc64/oprofile/init.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/errno.h> | 12 | #include <linux/errno.h> |
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | 14 | ||
15 | int __init oprofile_arch_init(struct oprofile_operations * ops) | 15 | int __init oprofile_arch_init(struct oprofile_operations *ops) |
16 | { | 16 | { |
17 | return -ENODEV; | 17 | return -ENODEV; |
18 | } | 18 | } |
diff --git a/arch/x86/oprofile/backtrace.c b/arch/x86/oprofile/backtrace.c index e2095cba409f..36e324139f77 100644 --- a/arch/x86/oprofile/backtrace.c +++ b/arch/x86/oprofile/backtrace.c | |||
@@ -53,7 +53,7 @@ struct frame_head { | |||
53 | } __attribute__((packed)); | 53 | } __attribute__((packed)); |
54 | 54 | ||
55 | static struct frame_head * | 55 | static struct frame_head * |
56 | dump_user_backtrace(struct frame_head * head) | 56 | dump_user_backtrace(struct frame_head *head) |
57 | { | 57 | { |
58 | struct frame_head bufhead[2]; | 58 | struct frame_head bufhead[2]; |
59 | 59 | ||
diff --git a/arch/x86/oprofile/op_model_amd.c b/arch/x86/oprofile/op_model_amd.c index b9a810b33261..a2e83afbe3e1 100644 --- a/arch/x86/oprofile/op_model_amd.c +++ b/arch/x86/oprofile/op_model_amd.c | |||
@@ -69,7 +69,7 @@ static unsigned long reset_value[NUM_COUNTERS]; | |||
69 | data. Should then be added to linux/oprofile.h. */ | 69 | data. Should then be added to linux/oprofile.h. */ |
70 | extern void | 70 | extern void |
71 | oprofile_add_ibs_sample(struct pt_regs *const regs, | 71 | oprofile_add_ibs_sample(struct pt_regs *const regs, |
72 | unsigned int * const ibs_sample, int ibs_code); | 72 | unsigned int *const ibs_sample, int ibs_code); |
73 | 73 | ||
74 | struct ibs_fetch_sample { | 74 | struct ibs_fetch_sample { |
75 | /* MSRC001_1031 IBS Fetch Linear Address Register */ | 75 | /* MSRC001_1031 IBS Fetch Linear Address Register */ |
@@ -469,9 +469,9 @@ static void clear_ibs_nmi(void) | |||
469 | on_each_cpu(apic_clear_ibs_nmi_per_cpu, NULL, 1); | 469 | on_each_cpu(apic_clear_ibs_nmi_per_cpu, NULL, 1); |
470 | } | 470 | } |
471 | 471 | ||
472 | static int (*create_arch_files)(struct super_block * sb, struct dentry * root); | 472 | static int (*create_arch_files)(struct super_block *sb, struct dentry *root); |
473 | 473 | ||
474 | static int setup_ibs_files(struct super_block * sb, struct dentry * root) | 474 | static int setup_ibs_files(struct super_block *sb, struct dentry *root) |
475 | { | 475 | { |
476 | struct dentry *dir; | 476 | struct dentry *dir; |
477 | int ret = 0; | 477 | int ret = 0; |
diff --git a/arch/x86/oprofile/op_x86_model.h b/arch/x86/oprofile/op_x86_model.h index 05a0261ba0c3..24ccdebf3ac1 100644 --- a/arch/x86/oprofile/op_x86_model.h +++ b/arch/x86/oprofile/op_x86_model.h | |||
@@ -22,8 +22,8 @@ struct op_msr { | |||
22 | }; | 22 | }; |
23 | 23 | ||
24 | struct op_msrs { | 24 | struct op_msrs { |
25 | struct op_msr * counters; | 25 | struct op_msr *counters; |
26 | struct op_msr * controls; | 26 | struct op_msr *controls; |
27 | }; | 27 | }; |
28 | 28 | ||
29 | struct pt_regs; | 29 | struct pt_regs; |