[openwrt/openwrt] realtek: rtl931x: drop CONFIG_NO_EXCEPT_FILL hack

LEDE Commits lede-commits at lists.infradead.org
Tue Jan 24 12:37:03 PST 2023


svanheule pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/d84dc5d4d7b28cf4132448130d3beb4352539f4f

commit d84dc5d4d7b28cf4132448130d3beb4352539f4f
Author: Sander Vanheule <sander at svanheule.net>
AuthorDate: Tue Jan 24 21:34:58 2023 +0100

    realtek: rtl931x: drop CONFIG_NO_EXCEPT_FILL hack
    
    On RTL931x builds, CONFIG_RTL931X was used as a stand-in for
    CONFIG_NO_EXCEPT_FILL.  Now that the latter is always selected for
    devices in the realtek target, this hack can be removed. Resulting
    device images are binary identical.
    
    Signed-off-by: Sander Vanheule <sander at svanheule.net>
---
 .../linux/realtek/patches-5.10/312-rt9313-support.patch | 17 -----------------
 .../linux/realtek/patches-5.15/312-rt9313-support.patch | 17 -----------------
 2 files changed, 34 deletions(-)

diff --git a/target/linux/realtek/patches-5.10/312-rt9313-support.patch b/target/linux/realtek/patches-5.10/312-rt9313-support.patch
index 516bca2b6e..7626cc9c25 100644
--- a/target/linux/realtek/patches-5.10/312-rt9313-support.patch
+++ b/target/linux/realtek/patches-5.10/312-rt9313-support.patch
@@ -43,23 +43,6 @@ Submitted-by: Birger Koblitz <git at birger-koblitz.de>
  ifdef CONFIG_32BIT
  bootvars-y	+= ADDR_BITS=32
  endif
---- a/arch/mips/kernel/head.S
-+++ b/arch/mips/kernel/head.S
-@@ -60,12 +60,14 @@
- 	.endm
- 
- #ifndef CONFIG_NO_EXCEPT_FILL
-+#ifndef CONFIG_RTL931X
- 	/*
- 	 * Reserved space for exception handlers.
- 	 * Necessary for machines which link their kernels at KSEG0.
- 	 */
- 	.fill	0x400
- #endif
-+#endif
- 
- EXPORT(_stext)
- 
 --- a/arch/mips/kernel/vmlinux.lds.S
 +++ b/arch/mips/kernel/vmlinux.lds.S
 @@ -55,7 +55,11 @@ SECTIONS
diff --git a/target/linux/realtek/patches-5.15/312-rt9313-support.patch b/target/linux/realtek/patches-5.15/312-rt9313-support.patch
index 67f5580cd6..e8edc996f3 100644
--- a/target/linux/realtek/patches-5.15/312-rt9313-support.patch
+++ b/target/linux/realtek/patches-5.15/312-rt9313-support.patch
@@ -43,23 +43,6 @@ Submitted-by: Birger Koblitz <git at birger-koblitz.de>
  ifdef CONFIG_32BIT
  bootvars-y	+= ADDR_BITS=32
  endif
---- a/arch/mips/kernel/head.S
-+++ b/arch/mips/kernel/head.S
-@@ -60,12 +60,14 @@
- 	.endm
- 
- #ifndef CONFIG_NO_EXCEPT_FILL
-+#ifndef CONFIG_RTL931X
- 	/*
- 	 * Reserved space for exception handlers.
- 	 * Necessary for machines which link their kernels at KSEG0.
- 	 */
- 	.fill	0x400
- #endif
-+#endif
- 
- EXPORT(_stext)
- 
 --- a/arch/mips/kernel/vmlinux.lds.S
 +++ b/arch/mips/kernel/vmlinux.lds.S
 @@ -55,7 +55,11 @@ SECTIONS




More information about the lede-commits mailing list