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:
parent
600276e186
commit
c81e825f6c
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user