From d459bf707687374969917c908aaec712d59d7912 Mon Sep 17 00:00:00 2001 From: rread Date: Tue, 4 Mar 2003 00:38:11 +0000 Subject: [PATCH] b=941: zab's fix for ia64 compiles. untested, but it does compile --- .../patches/iod-stock-24-exports_hp.patch | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 lustre/kernel_patches/patches/iod-stock-24-exports_hp.patch diff --git a/lustre/kernel_patches/patches/iod-stock-24-exports_hp.patch b/lustre/kernel_patches/patches/iod-stock-24-exports_hp.patch new file mode 100644 index 0000000..669b44d --- /dev/null +++ b/lustre/kernel_patches/patches/iod-stock-24-exports_hp.patch @@ -0,0 +1,41 @@ +--- linux-2.4.19-hp2_pnnl4_Lv13/fs/inode.c.iod-export 2003-02-27 14:28:04.000000000 -0800 ++++ linux-2.4.19-hp2_pnnl4_Lv13/fs/inode.c 2003-03-03 13:54:59.000000000 -0800 +@@ -5,6 +5,7 @@ + */ + + #include ++#include + #include + #include + #include +@@ -66,7 +67,8 @@ + * NOTE! You also have to own the lock if you change + * the i_state of an inode while it is in use.. + */ +-static spinlock_t inode_lock = SPIN_LOCK_UNLOCKED; ++spinlock_t inode_lock = SPIN_LOCK_UNLOCKED; ++EXPORT_SYMBOL(inode_lock); + + /* + * Statistics gathering.. +--- linux-2.4.19-hp2_pnnl4_Lv13/fs/Makefile.iod-export 2003-02-27 14:28:01.000000000 -0800 ++++ linux-2.4.19-hp2_pnnl4_Lv13/fs/Makefile 2003-03-03 13:56:11.000000000 -0800 +@@ -7,7 +7,7 @@ + + O_TARGET := fs.o + +-export-objs := filesystems.o open.o dcache.o buffer.o dquot.o ++export-objs := filesystems.o open.o dcache.o buffer.o dquot.o inode.o + mod-subdirs := nls xfs + + obj-y := open.o read_write.o devices.o file_table.o buffer.o \ +--- linux-2.4.19-hp2_pnnl4_Lv13/mm/page_alloc.c.iod-export 2003-02-27 14:28:01.000000000 -0800 ++++ linux-2.4.19-hp2_pnnl4_Lv13/mm/page_alloc.c 2003-03-03 13:54:59.000000000 -0800 +@@ -28,6 +28,7 @@ + LIST_HEAD(inactive_list); + LIST_HEAD(active_list); + pg_data_t *pgdat_list; ++EXPORT_SYMBOL(pgdat_list); + + /* Used to look up the address of the struct zone encoded in page->zone */ + zone_t *zone_table[MAX_NR_ZONES*MAX_NR_NODES]; -- 1.8.3.1