From: Preston Crow <pc-lkml141101@crowcastle.net>
To: linux-kernel@vger.kernel.org
Subject: Re: Compile failed on fs.o for 2.4.15-pre4
Date: Thu, 15 Nov 2001 12:43:11 -0500 [thread overview]
Message-ID: <200111151743.fAFHhBU01902@lol1122.lss.emc.com> (raw)
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
next reply other threads:[~2001-11-15 17:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-15 17:43 Preston Crow [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-11-15 15:36 Preston Crow
2001-11-14 20:55 Preston Crow
2001-11-14 21:08 ` Richard B. Johnson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200111151743.fAFHhBU01902@lol1122.lss.emc.com \
--to=pc-lkml141101@crowcastle.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®