aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c
index 707b1916f..a354f8a75 100644
--- a/init/init.c
+++ b/init/init.c
@@ -192,7 +192,7 @@ static void console_init()
if ((s = getenv("CONSOLE")) != NULL) {
console = s;
}
-#if defined (__sparc__)
+#if #cpu(sparc)
/* sparc kernel supports console=tty[ab] parameter which is also
* passed to init, so catch it here */
else if ((s = getenv("console")) != NULL) {