| 
      
      
      From: Paul M. <le...@us...> - 2006-08-04 07:44:13
      
     | 
| Update of /cvsroot/linuxsh/linux/arch/sh/kernel/cpu/sh4 In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv23404/arch/sh/kernel/cpu/sh4 Modified Files: sq.c Log Message: Build fixes for nommu. Index: sq.c =================================================================== RCS file: /cvsroot/linuxsh/linux/arch/sh/kernel/cpu/sh4/sq.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- sq.c 7 Jan 2006 17:33:56 -0000 1.15 +++ sq.c 4 Aug 2006 07:44:08 -0000 1.16 @@ -222,12 +222,14 @@ page = (map->sq_addr - P4SEG_STORE_QUE) >> PAGE_SHIFT; bitmap_release_region(sq_bitmap, page, get_order(map->size)); +#ifdef CONFIG_MMU vma = remove_vm_area((void *)(map->sq_addr & PAGE_MASK)); if (!vma) { printk(KERN_ERR "%s: bad address 0x%08lx\n", __FUNCTION__, map->sq_addr); return; } +#endif sq_mapping_list_del(map); |