From 5a855a81ab418b1496ed99b903c4700c33a60962 Mon Sep 17 00:00:00 2001 From: Ola Redell Date: Sun, 17 Dec 2017 22:27:56 +0100 Subject: adding example image recipe, machine config and kernel recipe This should provide a complete setup together with meta-sunxi to build images with jailhouse --- .../jailhouse-required-symbol-export.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 recipes-kernel/linux/jailhouse-linux-4.14.6/jailhouse-required-symbol-export.patch (limited to 'recipes-kernel/linux/jailhouse-linux-4.14.6/jailhouse-required-symbol-export.patch') 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 @@ +diff --git a/arch/arm/kernel/armksyms.c b/arch/arm/kernel/armksyms.c +index 7e45f69..dc0336e 100644 +--- a/arch/arm/kernel/armksyms.c ++++ b/arch/arm/kernel/armksyms.c +@@ -20,6 +20,7 @@ + + #include + #include ++#include + + /* + * libgcc functions - functions that are used internally by the +@@ -181,3 +182,7 @@ EXPORT_SYMBOL(__pv_offset); + EXPORT_SYMBOL(arm_smccc_smc); + EXPORT_SYMBOL(arm_smccc_hvc); + #endif ++ ++#ifdef CONFIG_ARM_VIRT_EXT ++EXPORT_SYMBOL_GPL(__boot_cpu_mode); ++#endif -- cgit v1.2.3-54-g00ecf