diff options
Diffstat (limited to 'recipes-kernel/linux/jailhouse-linux-4.14.6/jailhouse-required-symbol-export.patch')
-rw-r--r-- | recipes-kernel/linux/jailhouse-linux-4.14.6/jailhouse-required-symbol-export.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes-kernel/linux/jailhouse-linux-4.14.6/jailhouse-required-symbol-export.patch b/recipes-kernel/linux/jailhouse-linux-4.14.6/jailhouse-required-symbol-export.patch new file mode 100644 index 0000000..472a56e --- /dev/null +++ b/recipes-kernel/linux/jailhouse-linux-4.14.6/jailhouse-required-symbol-export.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | diff --git a/arch/arm/kernel/armksyms.c b/arch/arm/kernel/armksyms.c | ||
2 | index 7e45f69..dc0336e 100644 | ||
3 | --- a/arch/arm/kernel/armksyms.c | ||
4 | +++ b/arch/arm/kernel/armksyms.c | ||
5 | @@ -20,6 +20,7 @@ | ||
6 | |||
7 | #include <asm/checksum.h> | ||
8 | #include <asm/ftrace.h> | ||
9 | +#include <asm/virt.h> | ||
10 | |||
11 | /* | ||
12 | * libgcc functions - functions that are used internally by the | ||
13 | @@ -181,3 +182,7 @@ EXPORT_SYMBOL(__pv_offset); | ||
14 | EXPORT_SYMBOL(arm_smccc_smc); | ||
15 | EXPORT_SYMBOL(arm_smccc_hvc); | ||
16 | #endif | ||
17 | + | ||
18 | +#ifdef CONFIG_ARM_VIRT_EXT | ||
19 | +EXPORT_SYMBOL_GPL(__boot_cpu_mode); | ||
20 | +#endif | ||