On Thu, Jun 23, 2011 at 03:28, <[email protected]> wrote:
> @@ -10,6 +10,9 @@ config ARCH_MAY_HAVE_PC_FDC
> config ARCH_USES_GETTIMEOFFSET
> def_bool y
>
> +config CPU_HAS_BITFIELDS
> + bool
> +
> config EISA
> bool
> ---help---
> @@ -223,6 +226,7 @@ comment "Processor type"
>
> config M68020
> bool "68020 support"
> + select CPU_HAS_BITFIELDS
> help
> If you anticipate running this kernel on a computer with a MC68020
> processor, say Y. Otherwise, say N. Note that the 68020 requires a
Upon second thought, this won't work for multi-CPU kernels, as there's
no runtime
check. The logic needs to be reverted, like:
config CPU_HAS_NO_BITFIELDS
bool
config M680000
bool "68000 support"
select CPU_HAS_NO_BITFIELDS
so a kernel built to run on both 68000 and 68020 will not use the
bitfield instructions.
Sorry I didn't realize that earlier.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html