Re: [PATCH] mm: System without MMU do not need pte_mkwrite

From: Rik van Riel
Date: Fri Jan 21 2011 - 09:36:35 EST


On 01/21/2011 02:49 AM, Michal Simek wrote:
The patch "thp: export maybe_mkwrite"
(sha1 14fd403f2146f740942d78af4e0ee59396ad8eab)
break systems without MMU.

Error log:
CC arch/microblaze/mm/init.o
In file included from include/linux/mman.h:14,
from arch/microblaze/mm/consistent.c:24:
include/linux/mm.h: In function 'maybe_mkwrite':
include/linux/mm.h:482: error: implicit declaration of function 'pte_mkwrite'
include/linux/mm.h:482: error: incompatible types in assignment

Signed-off-by: Michal Simek<monstr@xxxxxxxxx>
CC: Andrea Arcangeli<aarcange@xxxxxxxxxx>
CC: Linus Torvalds<torvalds@xxxxxxxxxxxxxxxxxxxx>
CC: Andrew Morton<akpm@xxxxxxxxxxxxxxxxxxxx>
CC: Rik van Riel<riel@xxxxxxxxxx>
CC: Ingo Molnar<mingo@xxxxxxx>

Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>

--
All rights reversed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/