diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-02-15 11:24:42 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-02-16 10:33:05 +0100 |
commit | 43dbd7d8a6bc514a404f9b6e74a7ec765f0d375c (patch) | |
tree | 54b7d5948a81892fd6a1153847cb5541870b7829 /arch/sandbox/mach-sandbox/include/mach/linux.h | |
parent | 1fe7e39ff783e7606537080eb5bb4142defd1b49 (diff) | |
download | barebox-43dbd7d8a6bc514a404f9b6e74a7ec765f0d375c.tar.gz barebox-43dbd7d8a6bc514a404f9b6e74a7ec765f0d375c.tar.xz |
sandbox: support 64-bit file IO in 32-bit build
This allows an easy way to test upcoming changes to the barebox block
layer to support 64-bit block IO.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/sandbox/mach-sandbox/include/mach/linux.h')
-rw-r--r-- | arch/sandbox/mach-sandbox/include/mach/linux.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sandbox/mach-sandbox/include/mach/linux.h b/arch/sandbox/mach-sandbox/include/mach/linux.h index b26bfc24a2..f047c83e17 100644 --- a/arch/sandbox/mach-sandbox/include/mach/linux.h +++ b/arch/sandbox/mach-sandbox/include/mach/linux.h @@ -17,7 +17,7 @@ int linux_open_hostfile(struct hf_info *hf); int linux_read(int fd, void *buf, size_t count); int linux_read_nonblock(int fd, void *buf, size_t count); ssize_t linux_write(int fd, const void *buf, size_t count); -off_t linux_lseek(int fildes, off_t offset); +loff_t linux_lseek(int fildes, loff_t offset); int linux_tstc(int fd); void __attribute__((noreturn)) linux_exit(void); void linux_hang(void); |