[PATCH] uml: big memory fixes
A number of fixes to improve behavior when large physical memory sizes are specified: - libc files need -D_FILE_OFFSET_BITS=64 because there are unavoidable uses of non-64 interfaces in libc - some %d need to be %u Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
858259cf7d
commit
ae17381608
@@ -57,7 +57,7 @@ extern int init_maps(unsigned long physmem, unsigned long iomem,
|
||||
unsigned long highmem);
|
||||
extern unsigned long get_vm(unsigned long len);
|
||||
extern void setup_physmem(unsigned long start, unsigned long usable,
|
||||
unsigned long len, unsigned long highmem);
|
||||
unsigned long len, unsigned long long highmem);
|
||||
extern void add_iomem(char *name, int fd, unsigned long size);
|
||||
extern unsigned long phys_offset(unsigned long phys);
|
||||
extern void unmap_physmem(void);
|
||||
|
@@ -167,7 +167,7 @@ extern int can_do_skas(void);
|
||||
#endif
|
||||
|
||||
/* mem.c */
|
||||
extern int create_mem_file(unsigned long len);
|
||||
extern int create_mem_file(unsigned long long len);
|
||||
|
||||
/* process.c */
|
||||
extern unsigned long os_process_pc(int pid);
|
||||
|
Reference in New Issue
Block a user