diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2015-03-03 16:12:12 -0500 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-03-16 10:49:14 -0400 |
commit | b3b06c7eb7820cea5c15f9faa4964044284c5399 (patch) | |
tree | 13d096902840ab0ddaf9b1047d6c3949cc3c2761 /arch/x86/xen | |
parent | feb44f1f7a4ac299d1ab1c3606860e70b9b89d69 (diff) |
x86/xen/apic: WARN with details.
We should not be writting to the APIC registers under
Xen PV. But if we do instead of just giving an blanket
warning - include some details to help troubleshoot.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/xen')
-rw-r--r-- | arch/x86/xen/apic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/apic.c b/arch/x86/xen/apic.c index 5e0ecaf4c336..70e060ad879a 100644 --- a/arch/x86/xen/apic.c +++ b/arch/x86/xen/apic.c | |||
@@ -73,7 +73,7 @@ static u32 xen_apic_read(u32 reg) | |||
73 | static void xen_apic_write(u32 reg, u32 val) | 73 | static void xen_apic_write(u32 reg, u32 val) |
74 | { | 74 | { |
75 | /* Warn to see if there's any stray references */ | 75 | /* Warn to see if there's any stray references */ |
76 | WARN_ON(1); | 76 | WARN(1,"register: %x, value: %x\n", reg, val); |
77 | } | 77 | } |
78 | 78 | ||
79 | static u64 xen_apic_icr_read(void) | 79 | static u64 xen_apic_icr_read(void) |