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/x86/oprofile | |
parent | c92960fccb9f32a1d6110f6dcfe483ed96c62beb (diff) |
oprofile: more whitespace fixes
Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'arch/x86/oprofile')
-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 |
3 files changed, 6 insertions, 6 deletions
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; |