Skip to content

Commit 9bc47f1

Browse files
davidhildenbrandakpm00
authored andcommitted
m68k/mm: use correct bit number in _PAGE_SWP_EXCLUSIVE comment
As noticed by Geert, commit b5c88f2 ("microblaze/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE") modified m68k code by accident. While replacing 0x080 by CF_PAGE_NOCACHE is correct, although it should have been part of commit ed41540 ("m68k/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE"), replacing "bit 7" by "bit 24" in the comment was wrong. Let's revert to the previous, correct, comment. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: David Hildenbrand <[email protected]> Reported-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 92d5df3 commit 9bc47f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/m68k/include/asm/mcf_pgtable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
#define _CACHEMASK040 (~0x060)
4747
#define _PAGE_GLOBAL040 0x400 /* 68040 global bit, used for kva descs */
4848

49-
/* We borrow bit 24 to store the exclusive marker in swap PTEs. */
49+
/* We borrow bit 7 to store the exclusive marker in swap PTEs. */
5050
#define _PAGE_SWP_EXCLUSIVE CF_PAGE_NOCACHE
5151

5252
/*

0 commit comments

Comments
 (0)