summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2008-07-24 06:26:53 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-24 19:47:14 +0200
commit8b05c7e6e159d2f33c9275281b8b909a89eb7c5d (patch)
tree646edb14c42d6404e36f1602d47c639c72a8300a /arch/arm
parentmm: print out the zonelists on request for manual verification (diff)
downloadlinux-8b05c7e6e159d2f33c9275281b8b909a89eb7c5d.tar.xz
linux-8b05c7e6e159d2f33c9275281b8b909a89eb7c5d.zip
add a helper function to test if an object is on the stack
lib/debugobjects.c has a function to test if an object is on the stack. The block layer and ide needs it (they need to avoid DMA from/to stack buffers). This patch moves the function to include/linux/sched.h so that everyone can use it. lib/debugobjects.c uses current->stack but this patch uses a task_stack_page() accessor, which is a preferable way to access the stack. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Cc: Christoph Lameter <cl@linux-foundation.org> Cc: Andy Whitcroft <apw@shadowen.org> Cc: Ingo Molnar <mingo@elte.hu> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions