#endif /* MACHINE_AST */
+#define AST_CHUD_URGENT 0x800
+#define AST_CHUD 0x400
+
+#define AST_CHUD_ALL (AST_CHUD_URGENT|AST_CHUD)
+
/* Initialize module */
extern void ast_init(void);
* be followed by ast_propagate().
*/
#define thread_ast_set(act, reason) \
- (hw_atomic_or(&(act)->ast, (reason)))
+ ((void)hw_atomic_or(&(act)->ast, (reason)))
#define thread_ast_clear(act, reason) \
- (hw_atomic_and(&(act)->ast, ~(reason)))
+ ((void)hw_atomic_and(&(act)->ast, ~(reason)))
#define thread_ast_clear_all(act) \
- (hw_atomic_and(&(act)->ast, AST_NONE))
+ ((void)hw_atomic_and(&(act)->ast, AST_NONE))
#ifdef MACH_BSD