register thread_t cur_thr = current_thread();
register struct i386_saved_state *regs = USER_REGS(thr_act);
- if ((kr == KERN_SUCCESS) && (kr == KERN_ABORTED)) {
+ if ((kr == KERN_SUCCESS) || (kr == KERN_ABORTED)) {
#if MACH_KDB
if (!db_breakpoints_inserted) {
db_set_breakpoints();
trunc_page((vm_offset_t)subcode),
VM_PROT_READ|VM_PROT_WRITE,
FALSE,
- (map == kernel_map) ? interruptible : THREAD_ABORTSAFE);
+ (map == kernel_map) ? interruptible : THREAD_ABORTSAFE, NULL, 0);
}
#if MACH_KDB
if (result == KERN_SUCCESS) {
trunc_page((vm_offset_t)subcode),
prot,
FALSE,
- THREAD_ABORTSAFE));
+ THREAD_ABORTSAFE, NULL, 0));
/* NOTREACHED */
}
else {
trunc_page((vm_offset_t)subcode),
prot,
FALSE,
- (map == kernel_map) ? THREAD_UNINT : THREAD_ABORTSAFE);
+ (map == kernel_map) ? THREAD_UNINT : THREAD_ABORTSAFE, NULL, 0);
if ((result != KERN_SUCCESS) && (result != KERN_ABORTED)) {
/*
* Must expand vm_fault by hand,
mp_enable_preemption();
#endif
- ast_taken(preemption, mask, s
+ ast_taken(mask, s
#if FAST_IDLE
,NO_IDLE_THREAD
#endif /* FAST_IDLE */