sandbox: Correct guard around readq/writeq
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Mon, 16 Dec 2024 18:07:33 +0000 (18:07 +0000)
committerTom Rini <trini@konsulko.com>
Tue, 31 Dec 2024 16:58:30 +0000 (10:58 -0600)
commit99afa58e6dd23454e83354a6468f8ad6f52f3670
tree34a029a905f107ae583557d213de87b335f9f24d
parentafbc1fa5f18a2eebf1cf06f62574016edc093f50
sandbox: Correct guard around readq/writeq

In include/linux/io.h the declarations of ioread64 and iowrite64
which make use of readq/writeq are guarded with CONFIG_64BIT so
guard the sandbox declarations of readq and writeq also with
CONFIG_64BIT.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
arch/sandbox/include/asm/io.h