Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113597
b: refs/heads/master
c: fc2bd73
h: refs/heads/master
i:
  113595: 68cfe3a
v: v3
  • Loading branch information
Robert Richter authored and Ingo Molnar committed Jul 26, 2008
1 parent b483435 commit 45364ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ebb535de267386f659e0348185b1e361dbba3b59
refs/heads/master: fc2bd7345b4e006a34c2ea3711d8c6b83cba50f7
6 changes: 4 additions & 2 deletions trunk/arch/x86/oprofile/op_model_athlon.c
Original file line number Diff line number Diff line change
Expand Up @@ -446,13 +446,13 @@ static void clear_ibs_nmi(void)
on_each_cpu(apic_clear_ibs_nmi_per_cpu, NULL, 1);
}

static void 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;

if (!ibs_allowed)
return;
return 0;

/* setup some reasonable defaults */
ibs_config.max_cnt_fetch = 250000;
Expand All @@ -476,6 +476,8 @@ static void setup_ibs_files(struct super_block *sb, struct dentry *root)
&ibs_config.max_cnt_op);
oprofilefs_create_ulong(sb, dir, "dispatched_ops",
&ibs_config.dispatched_ops);

return 0;
}

static int op_amd_init(struct oprofile_operations *ops)
Expand Down

0 comments on commit 45364ed

Please sign in to comment.