Title: [8933] trunk/fs/binfmt_flat.c: Avoid bfin specific Macro in svn commit 5251 and 5253.
Revision
8933
Author
sonicz
Date
2010-06-22 05:44:37 -0400 (Tue, 22 Jun 2010)

Log Message

Avoid bfin specific Macro in svn commit 5251 and 5253.

L1 stack can be disabled by CONFIG_SMP macro for SMP kernel.
This patch should be merged with commit 5251 and 5253 
before sent to kernel mainline.

Modified Paths

Diff

Modified: trunk/fs/binfmt_flat.c (8932 => 8933)


--- trunk/fs/binfmt_flat.c	2010-06-22 09:02:36 UTC (rev 8932)
+++ trunk/fs/binfmt_flat.c	2010-06-22 09:44:37 UTC (rev 8933)
@@ -806,9 +806,9 @@
 	flush_icache_range(start_code, end_code);
 
 	if (flags & FLAT_FLAG_L1STK) {
-#ifndef CONFIG_APP_STACK_L1
+#ifdef CONFIG_SMP
 		flags &= ~FLAT_FLAG_L1STK;
-		printk(KERN_NOTICE "BINFMT_FLAT: L1 stack support disabled - will continue anyway\n");
+		printk(KERN_NOTICE "BINFMT_FLAT: L1 stack is not supported in SMP kernel.\n");
 #else
 		if (stack_base == 0) {
 			printk("BINFMT_FLAT: requesting L1 stack for shared library\n");
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to