[PATCH 2.6.15] EXPORT_SYMBOL(__rcuref_hash);

From: Tetsuo Handa
Date: Tue Jan 10 2006 - 06:07:09 EST


Hello,

Some kernel modules (for example, unionfs.ko) need __rcuref_hash,
but __rcuref_hash is not exported.
I couldn't build unionfs-20050921-1517-stable.tar.gz for 80386.
The following patch is needed for 2.6.14 and later.

------- start of patch -------
--- before/kernel/rcupdate.c 2006-01-03 12:21:10.000000000 +0900
+++ after/kernel/rcupdate.c 2006-01-10 17:41:32.000000000 +0900
@@ -84,6 +84,7 @@
spinlock_t __rcuref_hash[RCUREF_HASH_SIZE] = {
[0 ... (RCUREF_HASH_SIZE-1)] = SPIN_LOCK_UNLOCKED
};
+EXPORT_SYMBOL(__rcuref_hash);
#endif

/**
------- end of patch -------

Regards.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/