Skip to contentSkip to conversation

IA64 export symbols empty_zero_page, ia64_ssc

PATCH New Judith Lebzelter 1 participant 1 message Oct 9, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 IA64 export symbols empty_zero_page, ia64_ssc

From: Judith Lebzelter <[email protected]>

These warnings occur during modpost for ia64/allmodconfig in 2.6.19-rc1
WARNING: "empty_zero_page" [arch/ia64/hp/sim/simscsi.ko] undefined!
WARNING: "ia64_ssc" [arch/ia64/hp/sim/simscsi.ko] undefined!

This patch exports those variables and stops the warnings.

---

Index: linux/arch/ia64/kernel/ia64_ksyms.c
=================================--- linux.orig/arch/ia64/kernel/ia64_ksyms.c 2006-10-09 10:11:47.000000000 -0700
+++ linux/arch/ia64/kernel/ia64_ksyms.c 2006-10-09 10:15:18.000000000 -0700
@@ -111,3 +111,9 @@
#endif
extern char ia64_ivt[];
EXPORT_SYMBOL(ia64_ivt);
+
+#include "../hp/sim/hpsim_ssc.h"
+EXPORT_SYMBOL(ia64_ssc);
+#include <asm/pgtable.h>
+EXPORT_SYMBOL(empty_zero_page);
+