diff options
author | San Mehat <san@google.com> | 2009-10-03 12:24:54 -0700 |
---|---|---|
committer | San Mehat <san@google.com> | 2009-10-03 12:32:04 -0700 |
commit | 16dc5b5c657852c88d3242a59200e7cabd8c5e55 (patch) | |
tree | bb4aa57c1a468d0c90fd8a3e972df45d2f95950a | |
parent | 5ff986002d8e5a61fdf8ba1127d726946b9d0677 (diff) |
[ARM] process: Use uber-safe probe_kernel_address() to read mem when dumping.
This prevents the dump from taking pagefaults / external aborts.
Signed-off-by: San Mehat <san@google.com>
-rw-r--r-- | arch/arm/kernel/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 994b4d319eab..f884b85030b7 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c @@ -234,7 +234,7 @@ static void show_data(unsigned long addr, int nbytes, const char *name) printk("%04lx ", (unsigned long)p & 0xffff); for (j = 0; j < 8; j++) { u32 data; - if (__get_user(data, p)) { + if (probe_kernel_address(p, data)) { printk(" ********"); } else { printk(" %08x", data); |