summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/topology.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc64/topology.h')
-rw-r--r--include/asm-sparc64/topology.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-sparc64/topology.h b/include/asm-sparc64/topology.h
index 0e234e201bd6..98a6c613589d 100644
--- a/include/asm-sparc64/topology.h
+++ b/include/asm-sparc64/topology.h
@@ -1,6 +1,9 @@
#ifndef _ASM_SPARC64_TOPOLOGY_H
#define _ASM_SPARC64_TOPOLOGY_H
+#include <asm/spitfire.h>
+#define smt_capable() (tlb_type == hypervisor)
+
#include <asm-generic/topology.h>
#endif /* _ASM_SPARC64_TOPOLOGY_H */
OpenPOWER on IntegriCloud