Skip to contentSkip to conversation

v850: Add __param linker section

PATCH New Miles Bader 1 participant 1 message Oct 29, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 v850: Add __param linker section

 arch/v850/kernel/vmlinux.lds.S |    5 +++++
 1 files changed, 5 insertions(+)
arch/v850/kernel/vmlinux.lds.S +5 -0
diff -ruN -X../cludes linux-2.6.9-uc0/arch/v850/kernel/vmlinux.lds.S linux-2.6.9-uc0-v850-20041028/arch/v850/kernel/vmlinux.lds.S
@@ -60,6 +60,11 @@
 		___start___kcrctab_gpl = .;				      \
 			*(__kcrctab_gpl)				      \
 		___stop___kcrctab_gpl = .;				      \
+		/* Built-in module parameters */			      \
+		___start___param = .;					      \
+		*(__param)						      \
+		___stop___param = .;
+
 
 /* Kernel text segment, and some constant data areas.  */
 #define TEXT_CONTENTS							      \