summaryrefslogtreecommitdiff
path: root/arch/blackfin/kernel/process.c
diff options
context:
space:
mode:
authorRobin Getz <robin.getz@analog.com>2007-12-23 17:57:01 +0300
committerBryan Wu <bryan.wu@analog.com>2007-12-23 17:57:01 +0300
commitb03b08ba9c7235861adf4dde712dade0bb756fe0 (patch)
tree224d56e1403405be9306702506102989f7a5e110 /arch/blackfin/kernel/process.c
parent0d4a89bb3eb58f39831186fa6b1542893dbfdc9f (diff)
downloadlinux-b03b08ba9c7235861adf4dde712dade0bb756fe0.tar.xz
[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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/process.c b/arch/blackfin/kernel/process.c
index 5bf15125f0d6..fff3dd9eadda 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)