Commit b3b06c7e authored by Konrad Rzeszutek Wilk's avatar Konrad Rzeszutek Wilk Committed by David Vrabel

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: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent feb44f1f
...@@ -73,7 +73,7 @@ static u32 xen_apic_read(u32 reg) ...@@ -73,7 +73,7 @@ static u32 xen_apic_read(u32 reg)
static void xen_apic_write(u32 reg, u32 val) static void xen_apic_write(u32 reg, u32 val)
{ {
/* Warn to see if there's any stray references */ /* Warn to see if there's any stray references */
WARN_ON(1); WARN(1,"register: %x, value: %x\n", reg, val);
} }
static u64 xen_apic_icr_read(void) static u64 xen_apic_icr_read(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment