[lkml]   [2001]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 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_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]

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:13    [W:0.021 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site