Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

um: header debriding - mem_user.h

get_vm(), add_iomem(), phys_offset() dead since 2004;
init_mem_user() and setup_memory() - since before the initial merge.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>

authored by

Al Viro and committed by
Richard Weinberger
bb1a2c4e ed4b1cc5

-5
-5
arch/um/include/shared/mem_user.h
··· 46 46 47 47 #define ROUND_4M(n) ((((unsigned long) (n)) + (1 << 22)) & ~((1 << 22) - 1)) 48 48 49 - extern int init_mem_user(void); 50 - extern void setup_memory(void *entry); 51 49 extern unsigned long find_iomem(char *driver, unsigned long *len_out); 52 50 extern void mem_total_pages(unsigned long physmem, unsigned long iomem, 53 51 unsigned long highmem); 54 - extern unsigned long get_vm(unsigned long len); 55 52 extern void setup_physmem(unsigned long start, unsigned long usable, 56 53 unsigned long len, unsigned long long highmem); 57 - extern void add_iomem(char *name, int fd, unsigned long size); 58 - extern unsigned long phys_offset(unsigned long phys); 59 54 extern void map_memory(unsigned long virt, unsigned long phys, 60 55 unsigned long len, int r, int w, int x); 61 56