|
From: Paul M. <le...@us...> - 2006-07-19 14:50:24
|
Update of /cvsroot/linuxsh/linux/include/asm-sh In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv19907/include/asm-sh Modified Files: flat.h mmu.h Log Message: nommu fixes from Sato-san. Index: flat.h =================================================================== RCS file: /cvsroot/linuxsh/linux/include/asm-sh/flat.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- flat.h 16 Jun 2004 15:21:48 -0000 1.2 +++ flat.h 19 Jul 2006 14:50:21 -0000 1.3 @@ -13,7 +13,7 @@ #define __ASM_SH_FLAT_H #define flat_stack_align(sp) /* nothing needed */ -#define flat_argvp_envp_on_stack() 1 +#define flat_argvp_envp_on_stack() 0 #define flat_old_ram_flag(flags) (flags) #define flat_reloc_valid(reloc, size) ((reloc) <= (size)) #define flat_get_addr_from_rp(rp, relval, flags) get_unaligned(rp) Index: mmu.h =================================================================== RCS file: /cvsroot/linuxsh/linux/include/asm-sh/mmu.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- mmu.h 3 Jan 2006 22:51:48 -0000 1.4 +++ mmu.h 19 Jul 2006 14:50:21 -0000 1.5 @@ -3,19 +3,8 @@ #if !defined(CONFIG_MMU) -struct mm_rblock_struct { - int size; - int refcount; - void *kblock; -}; - -struct mm_tblock_struct { - struct mm_rblock_struct *rblock; - struct mm_tblock_struct *next; -}; - typedef struct { - struct mm_tblock_struct tblock; + struct vm_list_struct *vmlist; unsigned long end_brk; } mm_context_t; |