Matt Wright wrote: > > I've looked for answers to this question before, but all I could find was > someone asking a similar question and no replies... > > I'm having great trouble getting 2.4.0-testX to compile on my system when > I select Athlon/K7 as the Processor Family.... > > I've attached below the error's I'm getting.... the kernel DOES compile if > I select anything else... but I don't have anything else :) > Hello, The problem with SMP+K7 builds is that include/asm-i386/string.h has no business using in_interrupt(). That introduces circular dependencies which nobody has been able to rearrange away. Here is a patch I've posted here several times. It moves the mmx functions from string.h to arch/i386/lib/mmx.c (lib.a).It does not __inline__ the call for memcpy() of large or unknown length. Athlon supposedly does branch prediction for function pointers, so that shouldn't hurt too much. The point is to get it to build: optimize later. The actual usefulness of this may be limited to development on UP machines. I don't know whether the AMD-760 SMP boards will be compatable with Linux SMP. Hearsay is that they will have significant architectural differences with Intel flavored SMP boards. Cheers, Tom Patch as attachment to avoid mailer brain damage. It has not been tested lately, but still applies cleanish.