[okl4-developer] L1_CACHE_SHIFT

Jorge Torres jorge.torres.maldonado at gmail.com
Mon Aug 6 16:28:14 EST 2007


Hi okl4.org,

I'm trying to add a new driver that uses the /proc file system, and I get
this error on build:

 CC      fs/dquot.o
/home/jetorres/s/okl4_release_1.4.1.1/linux/kernel/fs/dquot.c: In function
`hashfn':
/home/jetorres/s/okl4_release_1.4.1.1/linux/kernel/fs/dquot.c:215: error:
`L1_CACHE_SHIFT' undeclared (first use in this function)
/home/jetorres/s/okl4_release_1.4.1.1/linux/kernel/fs/dquot.c:215: error:
(Each undeclared identifier is reported only once
/home/jetorres/s/okl4_release_1.4.1.1/linux/kernel/fs/dquot.c:215: error:
for each function it appears in.)
make[2]: *** [fs/dquot.o] Error 1
make[1]: *** [fs] Error 2
make: *** [_all] Error 2

I've temporally added a #define  L1_CACHE_SHIFT 6 on the
include/asm-l4/cache.h

But I'm not sure if that is the correct value, and the correct place to do
so.

Thank you very much,

Jorge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20070806/00a60142/attachment.htm 


More information about the Developer mailing list