Unbreak the !LAZY_SWITCH case. I #ifdef'ed too much when I added

the ifdefs prior to commit and killed the same-address-space test.

Submitted by:	bde
This commit is contained in:
Peter Wemm 2003-04-05 22:18:14 +00:00
parent 600276e186
commit c81e825f6c
3 changed files with 3 additions and 6 deletions

View File

@ -174,6 +174,7 @@ ENTRY(cpu_switch)
je sw1
#endif
1:
#endif
movl %cr3,%ebx /* The same address space? */
cmpl %ebx,%eax
#ifdef SWTCH_OPTIM_STATS
@ -181,8 +182,6 @@ ENTRY(cpu_switch)
#else
je sw1
#endif
#endif
#ifdef SWTCH_OPTIM_STATS
incl tlb_flush_count
#endif

View File

@ -174,6 +174,7 @@ ENTRY(cpu_switch)
je sw1
#endif
1:
#endif
movl %cr3,%ebx /* The same address space? */
cmpl %ebx,%eax
#ifdef SWTCH_OPTIM_STATS
@ -181,8 +182,6 @@ ENTRY(cpu_switch)
#else
je sw1
#endif
#endif
#ifdef SWTCH_OPTIM_STATS
incl tlb_flush_count
#endif

View File

@ -174,6 +174,7 @@ ENTRY(cpu_switch)
je sw1
#endif
1:
#endif
movl %cr3,%ebx /* The same address space? */
cmpl %ebx,%eax
#ifdef SWTCH_OPTIM_STATS
@ -181,8 +182,6 @@ ENTRY(cpu_switch)
#else
je sw1
#endif
#endif
#ifdef SWTCH_OPTIM_STATS
incl tlb_flush_count
#endif