]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: hide ioread64 declaration on 32-bit
authorArnd Bergmann <arnd@arndb.de>
Mon, 12 Sep 2022 19:27:19 +0000 (21:27 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 12 Sep 2022 19:27:19 +0000 (21:27 +0200)
commitf534371de8ccbf34ce831bdb7a092bdf111404a2
treea6055dd86ec566aa2d3f24eec539008ddc7be773
parent706b3c85a8cd7610a37fe688de9fb94f17b7f59d
parisc: hide ioread64 declaration on 32-bit

The definition of ioread64 etc is hidden on 32-bit, but the declaration
remained by accident, which led to the generic definition getting left
out:

ERROR: modpost: "ioread64" [drivers/pci/switch/switchtec.ko] undefined!

Hide the declaration and #define under the same #ifdef.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 8dd90720010b ("parisc: Remove 64bit access on 32bit machines")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/parisc/include/asm/io.h