android_kernel_xiaomi_sm8350/arch/parisc/kernel
Matthew Wilcox 9f15c82686 [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>
2007-02-17 00:51:25 -05:00
..
asm-offsets.c [PARISC] Further work for multiple page sizes 2006-04-21 22:20:34 +00:00
binfmt_elf32.c [PATCH] elf: Always define elf_addr_t in linux/elf.h 2006-12-07 08:39:38 -08:00
cache.c [PARISC] Clean up the cache and tlb headers 2007-02-17 00:41:30 -05:00
drivers.c [PARISC] avoid compiler warnings when compiling 64bit 2006-12-08 00:34:38 -05:00
entry.S [PARISC] [BUGFIX] nullify branch delay slot of the jump back to 2006-10-04 06:47:15 -06:00
firmware.c [PARISC] Make firmware calls irqsafe-ish... 2006-10-07 05:21:03 -06:00
hardware.c [PARISC] Add hardware found in the rp8400 2006-10-04 06:49:06 -06:00
head.S Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
hpmc.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
init_task.c [PATCH] nsproxy: move init_nsproxy into kernel/nsproxy.c 2006-10-02 07:57:20 -07:00
inventory.c [PARISC] Add __read_mostly section for parisc 2006-01-10 20:35:03 -05:00
irq.c [PARISC] Use set_irq_regs 2006-10-07 05:11:07 -06:00
Makefile [PATCH] sanitize building of fs/compat_ioctl.c 2006-01-10 08:01:33 -08:00
module.c [TRIVIAL] [PARISC] Fix module.c printk message, add missing ')' 2006-12-08 00:34:41 -05:00
pa7300lc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pacache.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
parisc_ksyms.c [PATCH] remove bogus arch-specific syscall exports 2006-10-11 11:17:07 -07:00
pci-dma.c [PARISC] more sparse fixes 2006-12-08 00:34:34 -05:00
pci.c [PARISC] avoid compiler warnings when compiling 64bit 2006-12-08 00:34:38 -05:00
pdc_chassis.c [PARISC] Work around machines which do not support chassis warnings 2006-06-27 23:28:37 +00:00
pdc_cons.c [PATCH] vt: Remove VT-specific declarations and definitions from tty.h 2006-07-10 13:24:16 -07:00
perf_asm.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
perf_images.h [PARISC] Use kzalloc and other janitor-style cleanups 2006-01-22 20:26:31 -05:00
perf.c [PARISC] I/O-Space must be ioremap_nocache()'d 2006-03-30 17:48:42 +00:00
process.c [PARISC] sparse fixes 2006-12-08 00:34:33 -05:00
processor.c [PARISC] Fix thinko in cpu_data.lock removal 2006-12-11 21:03:44 -05:00
ptrace.c [PARISC] Add is_compat_task() helper 2006-06-27 23:28:40 +00:00
real2.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
semaphore.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
setup.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
signal32.c [PARISC] Arch-specific compat signals 2006-01-22 20:57:42 -05:00
signal32.h [PARISC] Arch-specific compat signals 2006-01-22 20:57:42 -05:00
signal.c [PARISC] Switch is_compat_task to use TIF_32BIT 2006-10-04 06:46:42 -06:00
smp.c Merge branch 'parisc' from /home/kyle/repos/parisc-2.6.git 2007-02-17 00:18:23 -05:00
sys32.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sys_parisc32.c [PA-RISC] Fix filldir warnings 2006-10-05 01:48:17 +00:00
sys_parisc.c [PA-RISC] Fix parisc_newuname() 2006-10-05 01:48:18 +00:00
syscall_table.S [PARISC] Allow overriding personality with sys_personality 2006-10-04 06:46:53 -06:00
syscall.S Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
time.c [PARISC] More pt_regs removal 2006-10-07 06:01:11 -06:00
topology.c [PATCH] node hotplug: register cpu: remove node struct 2006-06-27 17:32:37 -07:00
traps.c [PARISC] Fix show_stack() when we can't kmalloc 2007-02-17 00:51:25 -05:00
unaligned.c [PARISC] Remove sched.h from uaccess.h on parisc 2007-02-17 00:44:30 -05:00
unwind.c [PARISC] Remove sched.h from uaccess.h on parisc 2007-02-17 00:44:30 -05:00
vmlinux.lds.S [PATCH] vmlinux.lds: consolidate initcall sections 2006-10-27 15:34:51 -07:00