Changing num_smp_cpus to NR_CPUS, as shown below, fixes one
compile problem, but I'm not sure if it's the right fix or not.
From file: kernel_stat.h:
* Number of interrupts per specific IRQ source, since bootup
static inline int kstat_irqs (int irq)
int i, sum=0;
for (i = 0 ; i < NR_CPUS ; i++)
sum += kstat.irqs[cpu_logical_map(i)][irq];
With this 'fix', it gets all the way to the end and then fails to link:
fs/fs.o: In function `dput':
fs/fs.o(.text+0x11f68): undefined reference to `atomic_dec_and_lock'
make: *** [vmlinux] Error 1
I'm beginning to think that no-one is actually using the repository.
If anyone has any suggestions for a better up-kept bk (or CVS) repository,
please let me know.
-- Ben Greear <firstname.lastname@example.org> <Ben_Greear AT excite.com> President of Candela Technologies Inc http://www.candelatech.com ScryMUD: http://scry.wanfear.com http://scry.wanfear.com/~greear
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/