diff options
author | Josh Boyer <jwboyer@fedoraproject.org> | 2015-03-13 15:25:57 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@fedoraproject.org> | 2015-03-13 15:26:01 -0400 |
commit | 02a7d0ba140bd8fc0dcce197b8f4ae3a50fffcda (patch) | |
tree | dec94532ff62b191f451c8544686741ed3caadba /efi-Add-esrt-support.patch | |
parent | 10b2b756c8b4b568fb2683c3b3d5c66774c534ce (diff) | |
download | kernel-02a7d0ba140bd8fc0dcce197b8f4ae3a50fffcda.tar.gz kernel-02a7d0ba140bd8fc0dcce197b8f4ae3a50fffcda.tar.xz kernel-02a7d0ba140bd8fc0dcce197b8f4ae3a50fffcda.zip |
Fix esrt build on aarch64
Tested via cross build with:
[jwboyer@vader linux]$ aarch64-linux-gnu-gcc --version
aarch64-linux-gnu-gcc (GCC) 4.9.1 20140717 (Red Hat Cross 4.9.1-1)
Diffstat (limited to 'efi-Add-esrt-support.patch')
-rw-r--r-- | efi-Add-esrt-support.patch | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/efi-Add-esrt-support.patch b/efi-Add-esrt-support.patch index 2b157529c..bd0c98e67 100644 --- a/efi-Add-esrt-support.patch +++ b/efi-Add-esrt-support.patch @@ -28,10 +28,10 @@ Signed-off-by: Peter Jones <pjones@redhat.com> Documentation/ABI/testing/sysfs-firmware-efi-esrt | 81 ++++ arch/x86/platform/efi/efi.c | 2 + drivers/firmware/efi/Makefile | 2 +- - drivers/firmware/efi/efi.c | 66 +++- - drivers/firmware/efi/esrt.c | 461 ++++++++++++++++++++++ + drivers/firmware/efi/efi.c | 66 ++- + drivers/firmware/efi/esrt.c | 464 ++++++++++++++++++++++ include/linux/efi.h | 8 + - 6 files changed, 618 insertions(+), 2 deletions(-) + 6 files changed, 621 insertions(+), 2 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-firmware-efi-esrt create mode 100644 drivers/firmware/efi/esrt.c @@ -248,10 +248,10 @@ index 3061bb8629dc..e54ea20dfb42 100644 diff --git a/drivers/firmware/efi/esrt.c b/drivers/firmware/efi/esrt.c new file mode 100644 -index 000000000000..1053b38f7e46 +index 000000000000..20c0cbdb1c60 --- /dev/null +++ b/drivers/firmware/efi/esrt.c -@@ -0,0 +1,461 @@ +@@ -0,0 +1,464 @@ +/* + * esrt.c + * @@ -278,6 +278,9 @@ index 000000000000..1053b38f7e46 +#include <linux/slab.h> +#include <linux/types.h> + ++#include <asm/io.h> ++#include <asm/early_ioremap.h> ++ +struct efi_system_resource_entry_v1 { + efi_guid_t fw_class; + u32 fw_type; |