diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2023-09-22 11:04:55 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2023-10-12 10:20:39 +0300 |
commit | c205a67d28766ffaae3d02cdffc9c86d52ed6c2e (patch) | |
tree | c0d365597949fe878ebb6ac101eedbba674661fe /arch/ia64/include | |
parent | 3f257bc63c0dcf50135971727e10e54f938d7fd7 (diff) | |
download | linux-c205a67d28766ffaae3d02cdffc9c86d52ed6c2e.tar.xz |
fbdev: Avoid file argument in fb_pgprotect()
Only PowerPC's fb_pgprotect() needs the file argument, although
the implementation in either phys_mem_access_prot() or
pci_phys_mem_access_prot() does not use it. Pass NULL to the internal
helper in preparation of further updates. A later patch will remove
the file parameter from fb_pgprotect().
While at it, replace the shift operation with PHYS_PFN().
v5:
* state function names in commit description (Javier)
Suggested-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230922080636.26762-2-tzimmermann@suse.de
Diffstat (limited to 'arch/ia64/include')
0 files changed, 0 insertions, 0 deletions