[PATCH 0/6] MN10300: Add the MN10300 architecture to Linux kernel [try #4]

David Howells
2007-11-08T17:16:40Z

These patches add the MEI/Panasonic MN10300/AM33 architecture to the Linux
kernel.

The first patch suppresses A.OUT support in the kernel if CONFIG_BINFMT_AOUT=n
and CONFIG_IA32_AOUT=n and CONFIG_BINFMT_AOUT32=n. MN10300 does not support
the AOUT binfmt, so the ELF binfmt should not be permitted to go looking for
AOUT libraries to load, nor should random bits of the kernel depend on
asm/a.out.h.

The fifth patch adds the architecture itself, to be selected by ARCH=mn10300 on
the make command line.

The patches can also be downloaded from:

http://people.redhat.com/~dhowells/mn10300/mn10300-arch.tar.bz2

A suitable toolchain can be downloaded from:

ftp://ftp.redhat.com/pub/redhat/gnupro/AM33/

The latest is currently:

am33-04r2-5/tools/i686-pc-linux-gnulibc2.3-x-am33_2.0-linux-gnu.tar.bz2

Changes:

(*) Split out the JEDEC chip addition, the net2280 namespace clash fix, the
UART type ID allocation and the ASB2303 flash handler into separate
patches.

(*) Don't use #ifdef __mn10300__ when CONFIG_MN10300 is available.

(*) Juggled the kprobe headers a bit.

(*) Moved the Kbuild patch hunks from the main patch to the A.OUT suppression
patch as they relate to {asm,linux}/a.out.h.

(*) Reworked the A.OUT suppression patch to not have conditionally exported
symbols, depending on module configuration. aout_dump_thread() is inlined
instead.

David