Re: [PATCH] Alternative patching for prefetches & cleanup

Andi Kleen (ak@muc.de)
Sun, 27 Apr 2003 05:14:51 +0200


> > +++ linux-gencpu/arch/i386/kernel/setup.c 2003-04-27 04:12:32.000000000 +0200
> > @@ -795,41 +795,42 @@
> > pci_mem_start = low_mem_size;
> > }
> >
> > +asm("nops: "
> > + ASM_NOP1 ASM_NOP2 ASM_NOP3 ASM_NOP4 ASM_NOP5 ASM_NOP6
> > + ASM_NOP7 ASM_NOP8);
> > +
>
> This in particular is just too ugly for words. Why can't you just have a

Hmm. I thought using the Fibonaci sequence for this was clever :-)

But ok I'll change it to the array.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/