X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8f6c56a50524aa785f7e596d52dddfb331e18961..5ba3f43ea354af8ad55bea84372a2bc834d8757c:/osfmk/machine/locks.h?ds=sidebyside diff --git a/osfmk/machine/locks.h b/osfmk/machine/locks.h index 9d522fa03..5f198abc0 100644 --- a/osfmk/machine/locks.h +++ b/osfmk/machine/locks.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 Apple Computer, Inc. All rights reserved. + * Copyright (c) 2004-2007 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * @@ -28,14 +28,12 @@ #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" +#elif defined (__arm__) || defined (__arm64__) +#include "arm/locks.h" #else #error architecture not supported #endif - #endif /* _MACHINE_LOCKS_H_ */