commit | 49f3bfe9334a4cf86079d2ee1d08e674b58862a9 | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Wed Feb 17 12:33:22 2010 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Wed Feb 17 12:33:22 2010 +0900 |
tree | 26c6fd90f5c3b0f4cee01095d45c307d505a86a7 | |
parent | 1d5cfcdff793e2f34ec61d902fa5ee0c7e4a2208 [diff] |
sh: Setup boot CPU VBR early to enable early page faults. vmemmap and the vmsplit code amongst others need to be able to take page faults much earlier than trap_init() time, so move this in to the early CPU initialization. VBR setup for secondary CPUs is already handled through start_secondary(), so we only need to do this for the boot CPU. Signed-off-by: Paul Mundt <lethal@linux-sh.org>