do_mmap: change addr to uintptr_t

Change-Id: I7df45e125387083aef7e62b046c20b7422f60f22
This commit is contained in:
Dominique Martinet
2018-09-20 13:08:58 +09:00
committed by Masamichi Takagi
parent c86d168165
commit 01fe83dcb3
4 changed files with 10 additions and 11 deletions

View File

@@ -465,7 +465,7 @@ static inline unsigned long timespec_to_jiffy(const struct timespec *ats)
void reset_cputime(void);
void set_cputime(int mode);
int do_munmap(void *addr, size_t len, int holding_memory_range_lock);
intptr_t do_mmap(intptr_t addr0, size_t len0, int prot, int flags, int fd,
intptr_t do_mmap(uintptr_t addr0, size_t len0, int prot, int flags, int fd,
off_t off0);
void clear_host_pte(uintptr_t addr, size_t len);
typedef int32_t key_t;