[lkml]   [2004]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: compile error with 2.6.7-rc3-mm1
> okay, I have the "Bad" one. Whatever that means, it seems bad :)

Ok - that's progress.

Then whatever cpumask.h file you are using to compile that code does not
have the fix you think it has.

If you're still stuck, send the output of doing the four commands:

rm -f drivers/perfctr/x86.i
make V=1 drivers/perfctr/x86.i | fmt -s
grep -2 define.CPU_MASK_NONE include/linux/cpumask.h
grep -2 old_mask.= drivers/perfctr/x86.i

By way of example, when I do these four commands, I get:

$ rm -f drivers/perfctr/x86.i
$ make V=1 drivers/perfctr/x86.i | fmt -s
make -f scripts/ obj=scripts/basic
make -f scripts/ obj=scripts
make -f scripts/ obj=drivers/perfctr drivers/perfctr/x86.i
gcc -E -Wp,-MD,drivers/perfctr/.x86.i.d -nostdinc -iwithprefix
include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -fno-common -pipe
-msoft-float -mpreferred-stack-boundary=2 -march=pentium4
-mregparm=3 -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer
-DKBUILD_BASENAME=x86 -DKBUILD_MODNAME=x86 -o drivers/perfctr/x86.i
$ grep -2 define.CPU_MASK_NONE include/linux/cpumask.h

#define CPU_MASK_NONE \
((cpumask_t){ { \
[0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
$ grep -2 old_mask.= drivers/perfctr/x86.i
cpumask_t old_mask;

old_mask = ((cpumask_t){ { [0 ... (((8)+32 -1)/32)-1] = 0UL } });

I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <> 1.650.933.1373
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:03    [W:0.027 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site