Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113599
b: refs/heads/master
c: a4c408a
h: refs/heads/master
i:
  113597: 45364ed
  113595: 68cfe3a
  113591: 2b1ed56
  113583: 3abe493
  113567: a4a5c99
  113535: dcfe9fd
v: v3
  • Loading branch information
Robert Richter authored and Ingo Molnar committed Jul 26, 2008
1 parent ddbbb57 commit d366e2e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 270d3e1a10e6ef85d5a085377e01d91dbcbe3726
refs/heads/master: a4c408a41167949f820e2740e56a8f2f7bb6177c
22 changes: 22 additions & 0 deletions trunk/arch/x86/oprofile/op_model_athlon.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,26 @@ static void op_amd_shutdown(struct op_msrs const * const msrs)
}
}

#ifndef CONFIG_SMP

/* no IBS support */

static void setup_ibs(void)
{
ibs_allowed = 0;
}

static void clear_ibs_nmi(void) {}

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

static void op_amd_exit(void) {}

#else

static u8 ibs_eilvt_off;

static inline void apic_init_ibs_nmi_per_cpu(void *arg)
Expand Down Expand Up @@ -505,6 +525,8 @@ static void op_amd_exit(void)
clear_ibs_nmi();
}

#endif

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

0 comments on commit d366e2e

Please sign in to comment.