瀏覽代碼

oprofile: fixing whitespaces in arch/x86/oprofile/*

Signed-off-by: Robert Richter <robert.richter@amd.com>
Robert Richter 16 年之前
父節點
當前提交
818273ae46
共有 4 個文件被更改,包括 14 次插入15 次删除
  1. 1 2
      arch/x86/oprofile/backtrace.c
  2. 9 9
      arch/x86/oprofile/op_counter.h
  3. 2 2
      arch/x86/oprofile/op_model_amd.c
  4. 2 2
      arch/x86/oprofile/op_x86_model.h

+ 1 - 2
arch/x86/oprofile/backtrace.c

@@ -52,8 +52,7 @@ struct frame_head {
 	unsigned long ret;
 } __attribute__((packed));
 
-static struct frame_head *
-dump_user_backtrace(struct frame_head * head)
+static struct frame_head *dump_user_backtrace(struct frame_head *head)
 {
 	struct frame_head bufhead[2];
 

+ 9 - 9
arch/x86/oprofile/op_counter.h

@@ -6,22 +6,22 @@
  *
  * @author John Levon
  */
- 
+
 #ifndef OP_COUNTER_H
 #define OP_COUNTER_H
- 
+
 #define OP_MAX_COUNTER 8
- 
+
 /* Per-perfctr configuration as set via
  * oprofilefs.
  */
 struct op_counter_config {
-        unsigned long count;
-        unsigned long enabled;
-        unsigned long event;
-        unsigned long kernel;
-        unsigned long user;
-        unsigned long unit_mask;
+	unsigned long count;
+	unsigned long enabled;
+	unsigned long event;
+	unsigned long kernel;
+	unsigned long user;
+	unsigned long unit_mask;
 };
 
 extern struct op_counter_config counter_config[];

+ 2 - 2
arch/x86/oprofile/op_model_amd.c

@@ -468,9 +468,9 @@ static void clear_ibs_nmi(void)
 		on_each_cpu(apic_clear_ibs_nmi_per_cpu, NULL, 1);
 }
 
-static int (*create_arch_files)(struct super_block * sb, struct dentry * root);
+static int (*create_arch_files)(struct super_block *sb, struct dentry *root);
 
-static int setup_ibs_files(struct super_block * sb, struct dentry * root)
+static int setup_ibs_files(struct super_block *sb, struct dentry *root)
 {
 	char buf[12];
 	struct dentry *dir;

+ 2 - 2
arch/x86/oprofile/op_x86_model.h

@@ -22,8 +22,8 @@ struct op_msr {
 };
 
 struct op_msrs {
-	struct op_msr * counters;
-	struct op_msr * controls;
+	struct op_msr *counters;
+	struct op_msr *controls;
 };
 
 struct pt_regs;