Messages in this thread | | | Date | Thu, 15 Nov 2001 12:43:11 -0500 | From | Preston Crow <> | Subject | Re: Compile failed on fs.o for 2.4.15-pre4 |
| |
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/
| |