Skip to content
Commit fdc5bebf authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

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: default avatarkernel test robot <lkp@intel.com>
Fixes: 77bfc8bd ("parisc: Remove 64bit access on 32bit machines")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 97c318bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment