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
|
je sw1
|
||||||
#endif
|
#endif
|
||||||
1:
|
1:
|
||||||
|
#endif
|
||||||
movl %cr3,%ebx /* The same address space? */
|
movl %cr3,%ebx /* The same address space? */
|
||||||
cmpl %ebx,%eax
|
cmpl %ebx,%eax
|
||||||
#ifdef SWTCH_OPTIM_STATS
|
#ifdef SWTCH_OPTIM_STATS
|
||||||
@ -181,8 +182,6 @@ ENTRY(cpu_switch)
|
|||||||
#else
|
#else
|
||||||
je sw1
|
je sw1
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef SWTCH_OPTIM_STATS
|
#ifdef SWTCH_OPTIM_STATS
|
||||||
incl tlb_flush_count
|
incl tlb_flush_count
|
||||||
#endif
|
#endif
|
||||||
|
@ -174,6 +174,7 @@ ENTRY(cpu_switch)
|
|||||||
je sw1
|
je sw1
|
||||||
#endif
|
#endif
|
||||||
1:
|
1:
|
||||||
|
#endif
|
||||||
movl %cr3,%ebx /* The same address space? */
|
movl %cr3,%ebx /* The same address space? */
|
||||||
cmpl %ebx,%eax
|
cmpl %ebx,%eax
|
||||||
#ifdef SWTCH_OPTIM_STATS
|
#ifdef SWTCH_OPTIM_STATS
|
||||||
@ -181,8 +182,6 @@ ENTRY(cpu_switch)
|
|||||||
#else
|
#else
|
||||||
je sw1
|
je sw1
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef SWTCH_OPTIM_STATS
|
#ifdef SWTCH_OPTIM_STATS
|
||||||
incl tlb_flush_count
|
incl tlb_flush_count
|
||||||
#endif
|
#endif
|
||||||
|
@ -174,6 +174,7 @@ ENTRY(cpu_switch)
|
|||||||
je sw1
|
je sw1
|
||||||
#endif
|
#endif
|
||||||
1:
|
1:
|
||||||
|
#endif
|
||||||
movl %cr3,%ebx /* The same address space? */
|
movl %cr3,%ebx /* The same address space? */
|
||||||
cmpl %ebx,%eax
|
cmpl %ebx,%eax
|
||||||
#ifdef SWTCH_OPTIM_STATS
|
#ifdef SWTCH_OPTIM_STATS
|
||||||
@ -181,8 +182,6 @@ ENTRY(cpu_switch)
|
|||||||
#else
|
#else
|
||||||
je sw1
|
je sw1
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef SWTCH_OPTIM_STATS
|
#ifdef SWTCH_OPTIM_STATS
|
||||||
incl tlb_flush_count
|
incl tlb_flush_count
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user