diff options
author | Robin Getz <robin.getz@analog.com> | 2007-12-23 22:57:01 +0800 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-12-23 22:57:01 +0800 |
commit | b03b08ba9c7235861adf4dde712dade0bb756fe0 (patch) | |
tree | 224d56e1403405be9306702506102989f7a5e110 /arch/blackfin/kernel/process.c | |
parent | 0d4a89bb3eb58f39831186fa6b1542893dbfdc9f (diff) |
[Blackfin] arch: Clean up dump_bfin_mem
Clean up dump_bfin_mem so that it will display
content from the kernel, as well as l1 instruction, when deferred
HW errors happen, print out the last frame info if it makes sense.
Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/kernel/process.c')
-rw-r--r-- | arch/blackfin/kernel/process.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/process.c b/arch/blackfin/kernel/process.c index 5bf15125f0d..fff3dd9eadd 100644 --- a/arch/blackfin/kernel/process.c +++ b/arch/blackfin/kernel/process.c @@ -327,6 +327,7 @@ void finish_atomic_sections (struct pt_regs *regs) } #if defined(CONFIG_ACCESS_CHECK) +/* Return 1 if access to memory range is OK, 0 otherwise */ int _access_ok(unsigned long addr, unsigned long size) { if (size == 0) |