Remove the masking of SP from register dumps, i.e.: gp = fffffc0000e97278 sp = (____ptrval____) which brings no security but removes vital information from oopses, crashes, etc., which may not be easy to reobtain after a reboot with the `no_hash_pointers' option. Signed-off-by: Maciej W. Rozycki <macro@xxxxxxxxxxx> --- arch/alpha/kernel/traps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) linux-alpha-show-regs-sp.diff Index: linux-melmac/arch/alpha/kernel/traps.c =================================================================== --- linux-melmac.orig/arch/alpha/kernel/traps.c +++ linux-melmac/arch/alpha/kernel/traps.c @@ -92,7 +92,7 @@ dik_show_regs(struct pt_regs *regs, unsi regs->r22, regs->r23, regs->r24); printk("t11= %016lx pv = %016lx at = %016lx\n", regs->r25, regs->r27, regs->r28); - printk("gp = %016lx sp = %p\n", regs->gp, regs+1); + printk("gp = %016lx sp = %px\n", regs->gp, regs+1); #if 0 __halt(); #endif