X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/e2fac8b15b12a7979f72090454d850e612fc5b13..b0d623f7f2ae71ed96e60569f61f9a9a27016e80:/bsd/machine/spl.h?ds=sidebyside diff --git a/bsd/machine/spl.h b/bsd/machine/spl.h index 1667c5099..ea806c0ce 100644 --- a/bsd/machine/spl.h +++ b/bsd/machine/spl.h @@ -30,6 +30,8 @@ #ifdef KERNEL #ifndef __ASSEMBLER__ + +#if !defined(__LP64__) || defined(XNU_KERNEL_PRIVATE) /* * Machine-dependent SPL definitions. * @@ -55,6 +57,8 @@ extern void splx(unsigned int level); extern void spln(unsigned int level); #define splstatclock() splhigh() +#endif /* !__LP64__ || XNU_KERNEL_PRIVATE */ + #endif /* __ASSEMBLER__ */ #endif /* KERNEL */