Title: [8951] trunk/arch/blackfin/kernel/process.c: blackfin: add L1 stack permit in access_ok
- Revision
- 8951
- Author
- bhsong
- Date
- 2010-06-29 04:43:38 -0400 (Tue, 29 Jun 2010)
Log Message
blackfin: add L1 stack permit in access_ok
Modified Paths
Diff
Modified: trunk/arch/blackfin/kernel/process.c (8950 => 8951)
--- trunk/arch/blackfin/kernel/process.c 2010-06-29 07:35:34 UTC (rev 8950)
+++ trunk/arch/blackfin/kernel/process.c 2010-06-29 08:43:38 UTC (rev 8951)
@@ -491,6 +491,11 @@
return 1;
#endif
+#ifndef CONFIG_EXCEPTION_L1_SCRATCH
+ if (in_mem_const(addr, size, (unsigned long)l1_stack_base, l1_stack_len))
+ return 1;
+#endif
+
aret = in_async(addr, size);
if (aret < 2)
return aret;
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits