]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/machine/locks.h
xnu-4570.1.46.tar.gz
[apple/xnu.git] / osfmk / machine / locks.h
index eff32fb174ef634d368ca4eb25489a09b4a29068..5f198abc092813440b9cdea467c7a38382f4519f 100644 (file)
 #ifndef _MACHINE_LOCKS_H_
 #define _MACHINE_LOCKS_H_
 
 #ifndef _MACHINE_LOCKS_H_
 #define _MACHINE_LOCKS_H_
 
-#if defined (__ppc__)
-#include "ppc/locks.h"
-#elif defined (__i386__)
+#if defined (__i386__) || defined (__x86_64__)
 #include "i386/locks.h"
 #include "i386/locks.h"
-#elif defined (__arm__)
+#elif defined (__arm__) || defined (__arm64__)
 #include "arm/locks.h"
 #else
 #error architecture not supported
 #include "arm/locks.h"
 #else
 #error architecture not supported