lkml.org 
[lkml]   [2005]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] mips: Fixed build error
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 <yuasa@hh.iij4u.or.jp>

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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-09-17 06:27    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site