Hi <a href="http://okl4.org">okl4.org</a>,<br><br>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* 
<br><br>Cheers,<br><br>Jorge<br><br><div><span class="gmail_quote">On 8/6/07, <b class="gmail_sendername">Jorge Torres</b> &lt;<a href="mailto:jorge.torres.maldonado@gmail.com">jorge.torres.maldonado@gmail.com</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi <a href="http://okl4.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
okl4.org</a>,<br><br>I&#39;m trying to add a new driver that uses the /proc file system, and I get this error on build:<br><br>&nbsp;CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fs/dquot.o<br>/home/jetorres/s/okl4_release_1.4.1.1/linux/kernel/fs/dquot.c: In function `hashfn&#39;:
<br>/home/jetorres/s/okl4_release_1.4.1.1/linux/kernel/fs/dquot.c:215: error: `L1_CACHE_SHIFT&#39; undeclared (first use in this function)<br>/home/jetorres/s/okl4_release_1.4.1.1/linux/kernel/fs/dquot.c:215: error: (Each undeclared identifier is reported only once
<br>/home/jetorres/s/okl4_release_1.4.1.1/linux/kernel/fs/dquot.c:215: error: for each function it appears in.)<br>make[2]: *** [fs/dquot.o] Error 1<br>make[1]: *** [fs] Error 2<br>make: *** [_all] Error 2<br><br>I&#39;ve temporally added a #define&nbsp;  L1_CACHE_SHIFT 6 on the include/asm-l4/cache.h
<br><br>But I&#39;m not sure if that is the correct value, and the correct place to do so.<br><br>Thank you very much,<br><span class="sg"><br>Jorge<br>
</span></blockquote></div><br>