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:
parent
1f9e741800
commit
f73cc0704d
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user