[okl4-developer] L1_CACHE_SHIFT

Jorge Torres jorge.torres.maldonado at gmail.com
Tue Aug 7 14:44:53 EST 2007


Hi okl4.org,

After sometime of confusion, It seems it was a build error, I removed the
build directory and rebuilt and things went OK, no need to declare
L1_CACHE_SHIFT, I also had to rm linux/kernel/.config*

Cheers,

Jorge

On 8/6/07, Jorge Torres <jorge.torres.maldonado at gmail.com> wrote:
>
> 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/20070807/7153f3c9/attachment.html 


More information about the Developer mailing list