> fs/fs.o: In function `dput':
> fs/fs.o(.text+0x10fb8): undefined reference to `atomic_dec_and_lock'
> make: *** [vmlinux] Error 1
Dick Johnson replied:
> Assuming that your version is similar to mine....
>
> In ...linux/fs/dcache.c add ...
> #include <linux/spinlock.h>
I tried that. The error is coming from fs/dcache.c, and it does look like
including that file is a good idea, but no matter where I put the #include
directive, I still get the same error.
[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/