From: Yazen Ghannam Date: Fri, 4 May 2018 05:59:49 +0000 (+0200) Subject: efi: Fix IA32/X64 Processor Error Record definition X-Git-Tag: v4.19~926^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=742632d237ce180439ab4af31e9891df0df81233;p=platform%2Fkernel%2Flinux-rpi.git efi: Fix IA32/X64 Processor Error Record definition Based on UEFI 2.7 Table 255. Processor Error Record, the "Local APIC_ID" field is 8 bytes but Linux defines this field as 1 byte. Fix this in the struct cper_sec_proc_ia definition. Signed-off-by: Yazen Ghannam Signed-off-by: Ard Biesheuvel Cc: Linus Torvalds Cc: Matt Fleming Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: linux-efi@vger.kernel.org Link: http://lkml.kernel.org/r/20180504060003.19618-4-ard.biesheuvel@linaro.org Signed-off-by: Ingo Molnar --- diff --git a/include/linux/cper.h b/include/linux/cper.h index d14ef4e..4b5f845 100644 --- a/include/linux/cper.h +++ b/include/linux/cper.h @@ -381,7 +381,7 @@ struct cper_sec_proc_generic { /* IA32/X64 Processor Error Section */ struct cper_sec_proc_ia { __u64 validation_bits; - __u8 lapic_id; + __u64 lapic_id; __u8 cpuid[48]; };