Skip to content

Commit

Permalink
powerpc/40x: Remove stale PTE_ATOMIC_UPDATES macro
Browse files Browse the repository at this point in the history
40x TLB handlers were reworked by commit 2c74e25 ("powerpc/40x:
Rework 40x PTE access and TLB miss") to not require PTE_ATOMIC_UPDATES
anymore.

Then commit 4e1df54 ("powerpc/pgtable: Drop PTE_ATOMIC_UPDATES")
removed all code related to PTE_ATOMIC_UPDATES.

Remove left over PTE_ATOMIC_UPDATES macro.

Fixes: 2c74e25 ("powerpc/40x: Rework 40x PTE access and TLB miss")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/f061db5857fcd748f84a6707aad01754686ce97e.1695659959.git.christophe.leroy@csgroup.eu
  • Loading branch information
chleroy authored and mpe committed Oct 19, 2023
1 parent 4b47b0f commit cc8ee28
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/powerpc/include/asm/nohash/32/pte-40x.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@

#define _PTE_NONE_MASK 0

/* Until my rework is finished, 40x still needs atomic PTE updates */
#define PTE_ATOMIC_UPDATES 1

#define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED)
#define _PAGE_BASE (_PAGE_BASE_NC)

Expand Down

0 comments on commit cc8ee28

Please sign in to comment.