Whamcloud - gitweb
merge b_devel into HEAD. Includes:
[fs/lustre-release.git] / lustre / kernel_patches / patches / iod-stock-24-exports_hp.patch
1 --- linux-2.4.19-hp2_pnnl4_Lv13/fs/inode.c.iod-export   2003-02-27 14:28:04.000000000 -0800
2 +++ linux-2.4.19-hp2_pnnl4_Lv13/fs/inode.c      2003-03-03 13:54:59.000000000 -0800
3 @@ -5,6 +5,7 @@
4   */
5  
6  #include <linux/config.h>
7 +#include <linux/module.h>
8  #include <linux/fs.h>
9  #include <linux/string.h>
10  #include <linux/mm.h>
11 @@ -66,7 +67,8 @@
12   * NOTE! You also have to own the lock if you change
13   * the i_state of an inode while it is in use..
14   */
15 -static spinlock_t inode_lock = SPIN_LOCK_UNLOCKED;
16 +spinlock_t inode_lock = SPIN_LOCK_UNLOCKED;
17 +EXPORT_SYMBOL(inode_lock);
18  
19  /*
20   * Statistics gathering..
21 --- linux-2.4.19-hp2_pnnl4_Lv13/fs/Makefile.iod-export  2003-02-27 14:28:01.000000000 -0800
22 +++ linux-2.4.19-hp2_pnnl4_Lv13/fs/Makefile     2003-03-03 13:56:11.000000000 -0800
23 @@ -7,7 +7,7 @@
24  
25  O_TARGET := fs.o
26  
27 -export-objs := filesystems.o open.o dcache.o buffer.o dquot.o
28 +export-objs := filesystems.o open.o dcache.o buffer.o dquot.o inode.o
29  mod-subdirs := nls xfs
30  
31  obj-y :=       open.o read_write.o devices.o file_table.o buffer.o \
32 --- linux-2.4.19-hp2_pnnl4_Lv13/mm/page_alloc.c.iod-export      2003-02-27 14:28:01.000000000 -0800
33 +++ linux-2.4.19-hp2_pnnl4_Lv13/mm/page_alloc.c 2003-03-03 13:54:59.000000000 -0800
34 @@ -28,6 +28,7 @@
35  LIST_HEAD(inactive_list);
36  LIST_HEAD(active_list);
37  pg_data_t *pgdat_list;
38 +EXPORT_SYMBOL(pgdat_list);
39  
40  /* Used to look up the address of the struct zone encoded in page->zone */
41  zone_t *zone_table[MAX_NR_ZONES*MAX_NR_NODES];