diff options
Diffstat (limited to 'arch/powerpc/mm/hash_low_32.S')
-rw-r--r-- | arch/powerpc/mm/hash_low_32.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/mm/hash_low_32.S b/arch/powerpc/mm/hash_low_32.S index b13d58932bf6..115347f74ce5 100644 --- a/arch/powerpc/mm/hash_low_32.S +++ b/arch/powerpc/mm/hash_low_32.S | |||
@@ -184,7 +184,7 @@ _GLOBAL(add_hash_page) | |||
184 | add r3,r3,r0 /* note create_hpte trims to 24 bits */ | 184 | add r3,r3,r0 /* note create_hpte trims to 24 bits */ |
185 | 185 | ||
186 | #ifdef CONFIG_SMP | 186 | #ifdef CONFIG_SMP |
187 | rlwinm r8,r1,0,0,(31-THREAD_SHIFT) /* use cpu number to make tag */ | 187 | CURRENT_THREAD_INFO(r8, r1) /* use cpu number to make tag */ |
188 | lwz r8,TI_CPU(r8) /* to go in mmu_hash_lock */ | 188 | lwz r8,TI_CPU(r8) /* to go in mmu_hash_lock */ |
189 | oris r8,r8,12 | 189 | oris r8,r8,12 |
190 | #endif /* CONFIG_SMP */ | 190 | #endif /* CONFIG_SMP */ |
@@ -545,7 +545,7 @@ _GLOBAL(flush_hash_pages) | |||
545 | #ifdef CONFIG_SMP | 545 | #ifdef CONFIG_SMP |
546 | addis r9,r7,mmu_hash_lock@ha | 546 | addis r9,r7,mmu_hash_lock@ha |
547 | addi r9,r9,mmu_hash_lock@l | 547 | addi r9,r9,mmu_hash_lock@l |
548 | rlwinm r8,r1,0,0,(31-THREAD_SHIFT) | 548 | CURRENT_THREAD_INFO(r8, r1) |
549 | add r8,r8,r7 | 549 | add r8,r8,r7 |
550 | lwz r8,TI_CPU(r8) | 550 | lwz r8,TI_CPU(r8) |
551 | oris r8,r8,9 | 551 | oris r8,r8,9 |
@@ -639,7 +639,7 @@ _GLOBAL(flush_hash_patch_B) | |||
639 | */ | 639 | */ |
640 | _GLOBAL(_tlbie) | 640 | _GLOBAL(_tlbie) |
641 | #ifdef CONFIG_SMP | 641 | #ifdef CONFIG_SMP |
642 | rlwinm r8,r1,0,0,(31-THREAD_SHIFT) | 642 | CURRENT_THREAD_INFO(r8, r1) |
643 | lwz r8,TI_CPU(r8) | 643 | lwz r8,TI_CPU(r8) |
644 | oris r8,r8,11 | 644 | oris r8,r8,11 |
645 | mfmsr r10 | 645 | mfmsr r10 |
@@ -677,7 +677,7 @@ _GLOBAL(_tlbie) | |||
677 | */ | 677 | */ |
678 | _GLOBAL(_tlbia) | 678 | _GLOBAL(_tlbia) |
679 | #if defined(CONFIG_SMP) | 679 | #if defined(CONFIG_SMP) |
680 | rlwinm r8,r1,0,0,(31-THREAD_SHIFT) | 680 | CURRENT_THREAD_INFO(r8, r1) |
681 | lwz r8,TI_CPU(r8) | 681 | lwz r8,TI_CPU(r8) |
682 | oris r8,r8,10 | 682 | oris r8,r8,10 |
683 | mfmsr r10 | 683 | mfmsr r10 |