Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158225
b: refs/heads/master
c: 82a2252
h: refs/heads/master
i:
  158223: f673fe1
v: v3
  • Loading branch information
Robert Richter committed Jul 20, 2009
1 parent f1f9b67 commit 33b2015
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 5e766e3e433fa2d5d2fdfd8e2432804c91393387
refs/heads/master: 82a225283fb0d9438549595d9e6f3ecc42b42ad6
4 changes: 2 additions & 2 deletions trunk/arch/x86/oprofile/nmi_int.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ static void nmi_cpu_shutdown(void *dummy)
{
unsigned int v;
int cpu = smp_processor_id();
struct op_msrs *msrs = &__get_cpu_var(cpu_msrs);
struct op_msrs *msrs = &per_cpu(cpu_msrs, cpu);

/* restoring APIC_LVTPC can trigger an apic error because the delivery
* mode and vector nr combination can be illegal. That's by design: on
Expand All @@ -307,7 +307,7 @@ static void nmi_cpu_shutdown(void *dummy)
apic_write(APIC_LVTERR, v);
nmi_cpu_restore_registers(msrs);
#ifdef CONFIG_OPROFILE_EVENT_MULTIPLEX
__get_cpu_var(switch_index) = 0;
per_cpu(switch_index, cpu) = 0;
#endif
}

Expand Down

0 comments on commit 33b2015

Please sign in to comment.