Skip to content

Commit

Permalink
oprofile: fixing whitespaces in arch/x86/oprofile/*
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Richter <robert.richter@amd.com>
  • Loading branch information
Robert Richter committed Oct 16, 2008
1 parent 5951290 commit 818273a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 15 deletions.
3 changes: 1 addition & 2 deletions arch/x86/oprofile/backtrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand Down
18 changes: 9 additions & 9 deletions arch/x86/oprofile/op_counter.h
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
Expand Down
4 changes: 2 additions & 2 deletions arch/x86/oprofile/op_model_amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions arch/x86/oprofile/op_x86_model.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 818273a

Please sign in to comment.