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

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