sparc32: implement proper LEON support in head_32 (before highmem)
authorSam Ravnborg <sam@ravnborg.org>
Fri, 25 May 2012 21:20:06 +0000 (21:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 May 2012 06:52:41 +0000 (23:52 -0700)
commit7b372d6582ca3bf41a1af9f168f3a852f3d7b21d
tree3a3269b976d713dd728b119e388f8f262c533138
parentec24158eac0ae2786ebf1e0afa8f3664891319ba
sparc32: implement proper LEON support in head_32 (before highmem)

Use PSR to check if the CPU is LEON and jump to
LEON specific code in this case.

Added a few constants to psr.h to increase readability.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Daniel Hellstrom <daniel@gaisler.com>
Cc: Konrad Eisele <konrad@gaisler.com>
arch/sparc/include/asm/psr.h
arch/sparc/kernel/head_32.S