Title: [5260] trunk/fs/binfmt_flat.c: scale back some more unnecessary L1 app stack checks as the code path will make sure they dont get executed
- Revision
- 5260
- Author
- vapier
- Date
- 2008-09-08 15:56:46 -0500 (Mon, 08 Sep 2008)
Log Message
scale back some more unnecessary L1 app stack checks as the code path will make sure they dont get executed
Modified Paths
Diff
Modified: trunk/fs/binfmt_flat.c (5259 => 5260)
--- trunk/fs/binfmt_flat.c 2008-09-08 11:02:20 UTC (rev 5259)
+++ trunk/fs/binfmt_flat.c 2008-09-08 20:56:46 UTC (rev 5260)
@@ -803,10 +803,8 @@
return 0;
out_fail:
-#ifdef CONFIG_APP_STACK_L1
if (flags & FLAT_FLAG_L1STK)
free_l1stack();
-#endif
return result;
}
@@ -927,7 +925,6 @@
/* Stash our initial stack pointer into the mm structure */
current->mm->start_stack = (unsigned long )sp;
-#ifdef CONFIG_APP_STACK_L1
if (l1stack_base) {
/* Find L1 stack pointer corresponding to the current bottom
of the stack in normal RAM. */
@@ -935,7 +932,6 @@
if (!activate_l1stack(current->mm, ramstack_top - stack_len))
l1stack_base = 0;
}
-#endif
DBG_FLT("start_thread(regs=0x%x, entry=0x%x, start_stack=0x%x, l1stk=0x%x, len 0x%x)\n",
(int)regs, (int)start_addr, (int)current->mm->start_stack, l1stack_base,
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits