Strange. While adding a #include for <linux/spinlock.h> didn't work,
tossing in the #define for atomic_dec_and_lock() did the trick.
So now in fs/dcache.c, I have:
#include <linux/cache.h>
#include <linux/module.h>
#include <asm/uaccess.h>
#define atomic_dec_and_lock(atomic,lock) atomic_dec_and_test(atomic)
#define DCACHE_PARANOIA 1
/* #define DCACHE_DEBUG 1 */
I know that this isn't the right fix; hopefully that will be in -pre5.
Well, now that it compiles, it's time to boot...
[Please CC responses to me]
--PC
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Nov 15 2001 - 21:00:43 EST