]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/ast.h
xnu-1504.7.4.tar.gz
[apple/xnu.git] / osfmk / kern / ast.h
index 93567aca73f6f496d1ee453a6ab6ce64dacf9c41..b6f42e4ec36da25ff3e2d4df830d0a133a3dd1a4 100644 (file)
@@ -182,11 +182,11 @@ MACRO_END
  *  be followed by ast_propagate().
  */
 #define thread_ast_set(act, reason)            \
-                                               ((void)hw_atomic_or(&(act)->ast, (reason)))
+                                               (hw_atomic_or_noret(&(act)->ast, (reason)))
 #define thread_ast_clear(act, reason)  \
-                                               ((void)hw_atomic_and(&(act)->ast, ~(reason)))
+                                               (hw_atomic_and_noret(&(act)->ast, ~(reason)))
 #define thread_ast_clear_all(act)              \
-                                               ((void)hw_atomic_and(&(act)->ast, AST_NONE))
+                                               (hw_atomic_and_noret(&(act)->ast, AST_NONE))
 
 #ifdef MACH_BSD