[PATCH] mips: Fixed build error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This patch has fixed the following build error on MIPS.

  CC      mm/mremap.o
mm/mremap.c: In function `move_one_page':
mm/mremap.c:146: error: syntax error before ')' token
make[1]: *** [mm/mremap.o] Error 1
make: *** [mm] Error 2

Yoichi

Signed-off-by: Yoichi Yuasa <[email protected]>

diff -urN -X dontdiff mm1-orig/include/asm-generic/pgtable.h mm1/include/asm-generic/pgtable.h
--- mm1-orig/include/asm-generic/pgtable.h	2005-09-17 11:31:04.000000000 +0900
+++ mm1/include/asm-generic/pgtable.h	2005-09-17 11:22:43.000000000 +0900
@@ -165,7 +165,7 @@
 ({									\
  	pte_t newpte = (pte);						\
 	if (pfn_valid(pte_pfn(pte)) && pte_page(pte) == ZERO_PAGE(old_addr)) \
-		newpte = mk_pte(ZERO_PAGE(new_addr), (prot)));		\
+		newpte = mk_pte(ZERO_PAGE(new_addr), (prot));		\
 	newpte;								\
 })
 #endif

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux