arch/m68k: Merge variants of fb_pgprotect() into single function
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 17 Apr 2023 12:56:39 +0000 (14:56 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 20 Apr 2023 08:04:37 +0000 (10:04 +0200)
commitd847517950f07353c1195de098c25024f948fe37
treef6772ae36bc6850d628604473caced93ace68855
parent84998fc1c39270b8e20223d1b10c00464eec09dc
arch/m68k: Merge variants of fb_pgprotect() into single function

Merge all variants of fb_pgprotect() into a single function body.
There are two different cases for MMU systems. For non-MMU systems,
the function body will be empty. No functional changes, but this
will help with the switch to <asm-generic/fb.h>.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Helge Deller <deller@gmx.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230417125651.25126-8-tzimmermann@suse.de
arch/m68k/include/asm/fb.h