Temporary workaround to get things to compile. I could have updated

genassym here, but what I've also noticed is that we're dorking
with a mutex directly at assembler level- I'm not sure that this
is wise at this stage in the SMP port- I think it's going to be much
safer for a while to do things in C until SMP wunderkind figure out
what works and slow down this 3 order differential...
This commit is contained in:
mjacob 2001-02-10 23:22:49 +00:00
parent 1f9e741800
commit f73cc0704d
2 changed files with 9 additions and 2 deletions

View File

@ -84,7 +84,6 @@ Lsavectx1: LDGP(pv)
/**************************************************************************/
IMPORT(want_resched, 4)
IMPORT(Lev1map, 8)
IMPORT(sched_lock, 72)
@ -174,7 +173,7 @@ Lcs7:
* in which case curproc would be NULL.
*/
stq s2, GD_CURPROC(globalp) /* curproc = p */
stl zero, want_resched /* we've rescheduled */
CALL (alpha_clear_resched) /* we've rescheduled */
/*
* Now running on the new u struct.

View File

@ -89,6 +89,14 @@ static void printtrap __P((const unsigned long, const unsigned long,
extern char *syscallnames[];
#endif
void alpha_clear_resched(void);
void
alpha_clear_resched(void)
{
clear_resched();
}
/*
* Define the code needed before returning to user mode, for
* trap and syscall.