Signed-off-by: Robert Richter <[email protected]>
---
include/asm-x86/apicdef.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
Index: linux-perfmon/include/asm-x86/apicdef.h
===================================================================
--- linux-perfmon.orig/include/asm-x86/apicdef.h
+++ linux-perfmon/include/asm-x86/apicdef.h
@@ -9,7 +9,7 @@
*/
#define APIC_DEFAULT_PHYS_BASE 0xfee00000
-
+
#define APIC_ID 0x20
#ifndef CONFIG_X86_32
#define APIC_ID_MASK (0xFFu<<24)
@@ -46,8 +46,8 @@
#define APIC_ISR 0x100
#define APIC_ISR_NR 0x8 /* Number of 32 bit ISR registers. */
#define APIC_TMR 0x180
-#define APIC_IRR 0x200
-#define APIC_ESR 0x280
+#define APIC_IRR 0x200
+#define APIC_ESR 0x280
#define APIC_ESR_SEND_CS 0x00001
#define APIC_ESR_RECV_CS 0x00002
#define APIC_ESR_SEND_ACC 0x00004
@@ -100,11 +100,11 @@
#define APIC_SEND_PENDING (1<<12)
#define APIC_MODE_MASK 0x700
#define GET_APIC_DELIVERY_MODE(x) (((x)>>8)&0x7)
-#define SET_APIC_DELIVERY_MODE(x,y) (((x)&~0x700)|((y)<<8))
+#define SET_APIC_DELIVERY_MODE(x, y) (((x)&~0x700)|((y)<<8))
#define APIC_MODE_FIXED 0x0
#define APIC_MODE_NMI 0x4
#define APIC_MODE_EXTINT 0x7
-#define APIC_LVT1 0x360
+#define APIC_LVT1 0x360
#define APIC_LVTERR 0x370
#define APIC_TMICT 0x380
#define APIC_TMCCT 0x390
--
Advanced Micro Devices, Inc.
Operating System Research Center
email: [email protected]