LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Config_x86_l1_cache_shift (https://www.linuxquestions.org/questions/linux-kernel-70/config_x86_l1_cache_shift-481916/)

Pier 09-09-2006 01:10 PM

Config_x86_l1_cache_shift
 
Hi everyone,
could someone explain what exactly CONFIG_X86_L1_CACHE_SHIFT is for?
When compiling RTAI iI get the following error message:

In file included from /usr/src/linux/include/asm/atomic.h:6,
from /usr/src/linux/rtai-3.3/base/include/asm/rtai_atomic.h:5
from /usr/src/linux/rtai-3.3/base/include/rtai_scb.h:43,
from /usr/src/linux/rtai-3.3/base/include/rtai_schedcore.h:32
from services.c:28:
/usr/src/linux/include/asm/processor.h:71: error: `CONFIG_X86_L1_CACHE_SHIFT'
declared here (not in a function)
/usr/src/linux/include/asm/processor.h:71: error: requested alignment is not a
onstant
make[4]: *** [services.lo] Error 1
make[4]: Leaving directory `/usr/src/RT_linux-2.6.15.1/rtai-3.3/base/sched/lib
rt'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/RT_linux-2.6.15.1/rtai-3.3/base/sched'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/RT_linux-2.6.15.1/rtai-3.3/base'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/RT_linux-2.6.15.1/rtai-3.3'
make: *** [all] Error 2

Funny thing is that I had already compiled the program before and as a matter of fact it is running ok on my pc. But now it won't compile anymore.

Can anyone help please?

Thanks a lot,
Pier


All times are GMT -5. The time now is 11:57 PM.