[IA64] Enable early console for Ski simulator
authorPeter Chubb <peterc@chubb.wattle.id.au>
Tue, 21 Aug 2007 03:51:45 +0000 (13:51 +1000)
committerTony Luck <tony.luck@intel.com>
Sat, 1 Sep 2007 09:50:39 +0000 (02:50 -0700)
commit8b713c67bccef7cabb0ee915f47eb33d82636af9
tree73a0577c8dd70825eaa41dc4527ab09432418166
parent99a19cf1c0eb22bad83fff060f08330ee9e029e2
[IA64] Enable early console for Ski simulator

This patch cleans up the `enable early console for SKI' patch
(471e7a44848f467c9b83adc3463d019d2fa8817f), and
1. potentially allows the gensparse_defconfig to work again.
   (there are other problems running a generic kernel on Ski)
2. fixes the `console registered twice' problem.
3. Cleans up the code by moving the `extern hpsim_cons' declaration to
   a new asm/hpsim.h file.

Thanks to Jes for comments.

Signed-off-by: Peter Chubb <peterc@gelato.unsw.edu.au>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/hp/sim/hpsim_console.c
arch/ia64/hp/sim/hpsim_setup.c
arch/ia64/kernel/setup.c
include/asm-ia64/hpsim.h [new file with mode: 0644]