Re: [PATCH] change name of rep_nop

From: David S. Miller (
Date: Mon Oct 08 2001 - 18:30:54 EST

   From: Dave Jones <>
   Date: Tue, 9 Oct 2001 01:24:18 +0200 (CEST)
   How do you propose to do this without turning setup.c and friends
   into a #ifdef nightmare ? setup_intel.c, setup_amd.c etc ??
It is possible to contain the mess in header files. Other
architectures have done this...

You can either macro inline the cpu tests and/or use function
pointers. The munging in the header files nops it out into
whatever CONFIG_CPUTYPE was chosen if you didn't ask for the
generic build.

Franks a lot,
David S. Miller
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

This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:22 EST