From: Matthew Wilcox Date: Sat, 16 Dec 2006 05:47:47 +0000 (-0700) Subject: [PARISC] Fix show_stack() when we can't kmalloc X-Git-Tag: v2.6.21-rc2~35^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f15c82686251cd2b97ac6859de62959d3c4afe1;p=pandora-kernel.git [PARISC] Fix show_stack() when we can't kmalloc show_stack() was calling kzalloc() to allocate a struct pt_regs. This meant that *really* early stack dumps would cause a null pointer dereference. x86_64 allocates its pt_regs on the stack, so do the same. Kyle actually committed this exact patch to CVS on Wed Jul 26 14:32:39 2006 UTC, and never moved it across to git. Bad Kyle. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin --- Reading git-diff-tree failed