Don't define, just declare want_resched here.
This commit is contained in:
parent
0eaa91ef03
commit
c29aeed86e
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cpu.h,v 1.38 2005/12/11 12:16:46 christos Exp $ */
|
||||
/* $NetBSD: cpu.h,v 1.39 2006/04/05 00:15:25 uwe Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994-1996 Mark Brinicombe.
|
||||
|
@ -240,7 +240,7 @@ extern int astpending;
|
|||
* Preempt the current process if in interrupt from user mode,
|
||||
* or after the current trap/syscall if in system mode.
|
||||
*/
|
||||
int want_resched; /* resched() was called */
|
||||
extern int want_resched; /* resched() was called */
|
||||
#define need_resched(ci) (want_resched = 1, setsoftast())
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue