summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/oplib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc64/oplib.h')
-rw-r--r--include/asm-sparc64/oplib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-sparc64/oplib.h b/include/asm-sparc64/oplib.h
index 7036f6e82..963ce73e4 100644
--- a/include/asm-sparc64/oplib.h
+++ b/include/asm-sparc64/oplib.h
@@ -9,6 +9,7 @@
#ifndef __SPARC64_OPLIB_H
#define __SPARC64_OPLIB_H
+#include <linux/config.h>
#include <asm/openprom.h>
/* Enumeration to describe the prom major version we have detected. */
@@ -175,7 +176,7 @@ enum prom_output_device {
extern enum prom_output_device prom_query_output_device(void);
/* Multiprocessor operations... */
-#ifdef __SMP__
+#ifdef CONFIG_SMP
/* Start the CPU with the given device tree node, context table, and context
* at the passed program counter.
*/