]> www.infradead.org Git - users/jedix/linux-maple.git/commit
m68k/mm: use correct bit number in _PAGE_SWP_EXCLUSIVE comment
authorDavid Hildenbrand <david@redhat.com>
Tue, 4 Apr 2023 08:56:36 +0000 (10:56 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 5 Apr 2023 23:02:54 +0000 (16:02 -0700)
commit84994cf77c0507b614340eb4703332b16f907471
tree359fa39854df77f0334f00dae2e9320952474f25
parente9eb1db34cc5b8a7dd3acfff55ecdadb06e54195
m68k/mm: use correct bit number in _PAGE_SWP_EXCLUSIVE comment

As noticed by Geert, commit b5c88f21531c ("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 ed4154067a08 ("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/20230404085636.121409-1-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/m68k/include/asm/mcf_pgtable.h