Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123474
b: refs/heads/master
c: 9fa6812
h: refs/heads/master
v: v3
  • Loading branch information
Robert Richter committed Dec 10, 2008
1 parent c162df7 commit 05f7ef5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 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: 8dbc50c322619eb821907e8dba75252f5378c712
refs/heads/master: 9fa6812dbab9207f7af52c3d0417f1f9eb89c386
26 changes: 13 additions & 13 deletions trunk/arch/x86/oprofile/op_model_amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,18 +376,7 @@ static void op_amd_shutdown(struct op_msrs const * const msrs)
}
}

#ifndef CONFIG_OPROFILE_IBS

/* no IBS support */

static int op_amd_init(struct oprofile_operations *ops)
{
return 0;
}

static void op_amd_exit(void) {}

#else
#ifdef CONFIG_OPROFILE_IBS

static u8 ibs_eilvt_off;

Expand Down Expand Up @@ -531,7 +520,18 @@ static void op_amd_exit(void)
clear_ibs_nmi();
}

#endif
#else

/* no IBS support */

static int op_amd_init(struct oprofile_operations *ops)
{
return 0;
}

static void op_amd_exit(void) {}

#endif /* CONFIG_OPROFILE_IBS */

struct op_x86_model_spec const op_amd_spec = {
.init = op_amd_init,
Expand Down

0 comments on commit 05f7ef5

Please sign in to comment.