aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2023-09-22 10:04:56 +0200
committerThomas Zimmermann <[email protected]>2023-10-12 09:20:46 +0200
commit052ddf7b86d2d9443bce77ef5b5b1ef61a3b79fc (patch)
treecba604afadc8aca42d2f5ce253c7dff4168e0da0 /scripts/gdb/linux/utils.py
parentc205a67d28766ffaae3d02cdffc9c86d52ed6c2e (diff)
fbdev: Replace fb_pgprotect() with pgprot_framebuffer()
Rename the fbdev mmap helper fb_pgprotect() to pgprot_framebuffer(). The helper sets VMA page-access flags for framebuffers in device I/O memory. Also clean up the helper's parameters and return value. Instead of the VMA instance, pass the individial parameters separately: existing page-access flags, the VMAs start and end addresses and the offset in the underlying device memory rsp file. Return the new page-access flags. These changes align pgprot_framebuffer() with other pgprot_() functions. v4: * fix commit message (Christophe) v3: * rename fb_pgprotect() to pgprot_framebuffer() (Arnd) Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Arnd Bergmann <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]> # m68k Reviewed-by: Javier Martinez Canillas <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions