ARM: 7383/1: nommu: populate vectors page from paging_init
authorWill Deacon <will.deacon@arm.com>
Thu, 12 Apr 2012 16:16:01 +0000 (17:16 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 13 Apr 2012 13:05:42 +0000 (14:05 +0100)
commit6b8e5c912f4294611351aba151324764ebbefa1b
tree85b5c6410b721e8eda13588e4769c49dfc050f48
parent9b7333a9c1c22409f685ff6bb6a9e3638e7ff06f
ARM: 7383/1: nommu: populate vectors page from paging_init

Commit 94e5a85b ("ARM: earlier initialization of vectors page") made it
the responsibility of paging_init to initialise the vectors page.

This patch adds a call to early_trap_init for the !CONFIG_MMU case,
placing the vectors at CONFIG_VECTORS_BASE.

Cc: Jonathan Austin <jonathan.austin@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/nommu.c