kboot: remove host_seek
host_llseek has replaced all instances of host_seek, so retire the latter. It's unused. Sponsored by: Netflix
This commit is contained in:
parent
1d66269db3
commit
f953785b3d
@ -21,15 +21,6 @@ ENTRY(host_write)
|
||||
blr
|
||||
END(host_write)
|
||||
|
||||
ENTRY(host_seek)
|
||||
mr %r4,%r5
|
||||
mr %r5,%r6
|
||||
mr %r6,%r7
|
||||
li %r0, 140 # SYS_llseek
|
||||
sc
|
||||
blr
|
||||
END(host_seek)
|
||||
|
||||
ENTRY(host_llseek)
|
||||
li %r0, 140 # SYS_llseek
|
||||
sc
|
||||
|
@ -32,7 +32,6 @@
|
||||
|
||||
ssize_t host_read(int fd, void *buf, size_t nbyte);
|
||||
ssize_t host_write(int fd, const void *buf, size_t nbyte);
|
||||
ssize_t host_seek(int fd, int64_t offset, int whence);
|
||||
int host_open(const char *path, int flags, int mode);
|
||||
ssize_t host_llseek(int fd, int32_t offset_high, int32_t offset_lo, uint64_t *result, int whence);
|
||||
int host_close(int fd);
|
||||
|
Loading…
Reference in New Issue
Block a user