aboutsummaryrefslogtreecommitdiffstats
path: root/testing/linux-amlogic/off_error_text_offset.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/linux-amlogic/off_error_text_offset.patch')
-rw-r--r--testing/linux-amlogic/off_error_text_offset.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/linux-amlogic/off_error_text_offset.patch b/testing/linux-amlogic/off_error_text_offset.patch
new file mode 100644
index 0000000000..a5069502b6
--- /dev/null
+++ b/testing/linux-amlogic/off_error_text_offset.patch
@@ -0,0 +1,13 @@
+diff --git a/arch/arm64/kernel/head.S b/arch/arm64/kernel/head.S
+index b085306..68edc91 100644
+--- a/arch/arm64/kernel/head.S
++++ b/arch/arm64/kernel/head.S
+@@ -51,7 +51,7 @@
+ #elif (PAGE_OFFSET & 0x1fffff) != 0
+ #error PAGE_OFFSET must be at least 2MB aligned
+ #elif TEXT_OFFSET > 0x1fffff
+-#error TEXT_OFFSET must be less than 2MB
++//#error TEXT_OFFSET must be less than 2MB
+ #endif
+
+ /*