mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-24 23:53:02 +00:00
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@svanheule.net>
This commit is contained in:
parent
1bf39d91d5
commit
d84dc5d4d7
@ -43,23 +43,6 @@ Submitted-by: Birger Koblitz <git@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
|
||||
|
@ -43,23 +43,6 @@ Submitted-by: Birger Koblitz <git@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
|
||||
|
Loading…
Reference in New Issue
Block a user