summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.cmake b/configure.cmake
index acb80965a64..5b8bc3688c7 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -857,10 +857,11 @@ IF(NOT CMAKE_CROSSCOMPILING AND NOT MSVC)
ENDIF()
IF (NOT HAVE_PAUSE_INSTRUCTION)
CHECK_C_SOURCE_COMPILES("
+ #include <sys/platform/ppc.h>
int main()
{
- __asm__ __volatile__ (\"or 1,1,1\");
- __asm__ __volatile__ (\"or 2,2,2\");
+ __ppc_set_ppr_low();
+ __ppc_set_ppr_med();
return 0;
}
" HAVE_HMT_PRIORITY_INSTRUCTION)