]> git.karo-electronics.de Git - linux-beck.git/commit
sparc,leon: CONFIG_SPARC_LEON option and leon specific files.
authorKonrad Eisele <konrad@gaisler.com>
Mon, 17 Aug 2009 00:13:29 +0000 (00:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Aug 2009 01:32:09 +0000 (18:32 -0700)
commit5213a780295895630530aebacdd19217a5379c9a
tree7bb6534312da2a4d99b97e0bb15b4dd4f4ec1909
parent8abf9196008a7f06841b10769d1aed3f28c1d314
sparc,leon: CONFIG_SPARC_LEON option and leon specific files.

The macro CONFIG_SPARC_LEON will shield, if undefined, the sun-sparc
code from LEON specific code. In
particular include/asm/leon.h will get empty through #ifdef and
leon_kernel.c and leon_mm.c will not be compiled.

Signed-off-by: Konrad Eisele <konrad@gaisler.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/Kconfig
arch/sparc/include/asm/leon.h [new file with mode: 0644]
arch/sparc/include/asm/leon_amba.h [new file with mode: 0644]
arch/sparc/kernel/leon_kernel.c [new file with mode: 0644]
arch/sparc/mm/leon_mm.c [new file with mode: 0644]