glibc: install libmvec.so when available
[buildroot-gz.git] / package / kexec / 0002-arm-add-phys_to_virt.h-and-iomem.patch
blob748acbde18ec7431ede4970cae96d9211c730516
1 arm: add iomem.h and phys_to_virt.h
3 Fixes build for arm.
5 This patch is equivalent to upstream commit 1574ff1aae4f3 (arm: include
6 phys_to_virt.h and iomem.h in distribution) when applied to the tarball.
8 Signed-off-by: Baruch Siach <baruch@tkos.co.il>
10 ---
11 diff -Nuar kexec-tools-2.0.13-orig/kexec/arch/arm/iomem.h kexec-tools-2.0.13/kexec/arch/arm/iomem.h
12 --- kexec-tools-2.0.13-orig/kexec/arch/arm/iomem.h 1970-01-01 02:00:00.000000000 +0200
13 +++ kexec-tools-2.0.13/kexec/arch/arm/iomem.h 2016-10-21 09:45:27.495689269 +0300
14 @@ -0,0 +1,9 @@
15 +#ifndef IOMEM_H
16 +#define IOMEM_H
18 +#define SYSTEM_RAM "System RAM\n"
19 +#define SYSTEM_RAM_BOOT "System RAM (boot alias)\n"
20 +#define CRASH_KERNEL "Crash kernel\n"
21 +#define CRASH_KERNEL_BOOT "Crash kernel (boot alias)\n"
23 +#endif
24 diff -Nuar kexec-tools-2.0.13-orig/kexec/arch/arm/phys_to_virt.h kexec-tools-2.0.13/kexec/arch/arm/phys_to_virt.h
25 --- kexec-tools-2.0.13-orig/kexec/arch/arm/phys_to_virt.h 1970-01-01 02:00:00.000000000 +0200
26 +++ kexec-tools-2.0.13/kexec/arch/arm/phys_to_virt.h 2016-10-21 09:45:27.495689269 +0300
27 @@ -0,0 +1,8 @@
28 +#ifndef PHYS_TO_VIRT_H
29 +#define PHYS_TO_VIRT_H
31 +#include <stdint.h>
33 +extern uint64_t phys_offset;
35 +#endif