diff options
author | Matthew Wilcox | 2006-12-16 06:47:47 +0100 |
---|---|---|
committer | Kyle McMartin | 2007-02-17 06:51:25 +0100 |
commit | 9f15c82686251cd2b97ac6859de62959d3c4afe1 (patch) | |
tree | 6bacc1d1422fd9770d9b5f90417a804a8cad7ef1 /include/asm-parisc | |
parent | [PARISC] Remove sched.h from uaccess.h on parisc (diff) | |
download | kernel-qcow2-linux-9f15c82686251cd2b97ac6859de62959d3c4afe1.tar.gz kernel-qcow2-linux-9f15c82686251cd2b97ac6859de62959d3c4afe1.tar.xz kernel-qcow2-linux-9f15c82686251cd2b97ac6859de62959d3c4afe1.zip |
[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 <matthew@wil.cx>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'include/asm-parisc')
0 files changed, 0 insertions, 0 deletions