Re: [PATCH 4/6] edac, mce_amd_inj: Add capability to trigger apic interrupts

From: Borislav Petkov
Date: Fri May 29 2015 - 15:19:17 EST


On Fri, May 29, 2015 at 01:27:48PM -0500, Aravind Gopalakrishnan wrote:
> Fixed it thusly:
> u8 dfr_vec = DEFERRED_ERROR_VECTOR;
> asm volatile("int %0"
> :: "n" (dfr_vec));

asm volatile("int %0" :: "i" (DEFERRED_ERROR_VECTOR));

should be just fine.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/