fix-android-ifdef-polarity.patch
authorAndy Green <andy@openmoko.com>
Thu, 29 Jan 2009 14:28:13 +0000 (14:28 +0000)
committerAndy Green <agreen@octopus.localdomain>
Thu, 29 Jan 2009 14:28:13 +0000 (14:28 +0000)
Signed-off-by: Andy Green <andy@openmoko.com>
kernel/printk.c

index 9d02873..ca33b20 100644 (file)
@@ -82,7 +82,7 @@ EXPORT_SYMBOL(printk_emergency_debug_spew_send_string);
  * driver system.
  */
 static DECLARE_MUTEX(console_sem);
-#ifdef CONFIG_ANDROID_CONSOLE_EARLYSUSPEND
+#ifndef CONFIG_ANDROID_CONSOLE_EARLYSUSPEND
 static DECLARE_MUTEX(secondary_console_sem);
 #endif
 struct console *console_drivers;