diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2005-01-10 23:43:41 -0800 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-01-10 23:43:41 -0800 |
commit | 813ee3b2ce58f858e7e5f25e8f41f3a6aea109c6 (patch) | |
tree | e63b1bd289f4f2ab4a7284c78e68ca8c913a8f7e /arch | |
parent | 68e8557bfe21dbec65555655b4a03623a6cebf00 (diff) | |
download | history-813ee3b2ce58f858e7e5f25e8f41f3a6aea109c6.tar.gz |
[IA64] reset console_loglevel so INIT output always goes to console
Reset console_loglevel early in INIT handler. Otherwise, if
it has been turned down (i.e., with "dmesg -n1"), the user may
see no effect at all from issuing an INIT. We're never going
to run any more user code, so there won't be any opportunity for
anything to collect the output from the dmesg buffer.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/kernel/mca.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/kernel/mca.c b/arch/ia64/kernel/mca.c index 662bf21331a8ae..bf4a4571c2798e 100644 --- a/arch/ia64/kernel/mca.c +++ b/arch/ia64/kernel/mca.c @@ -1133,6 +1133,7 @@ ia64_init_handler (struct pt_regs *pt, struct switch_stack *sw) pal_min_state_area_t *ms; oops_in_progress = 1; /* avoid deadlock in printk, but it makes recovery dodgy */ + console_loglevel = 15; /* make sure printks make it to console */ printk(KERN_INFO "Entered OS INIT handler. PSP=%lx\n", ia64_sal_to_os_handoff_state.proc_state_param); |