First modification by kwkoh.
arch/arm/include/asm/pgtable.h and arch/arm/mm/mmu.c are modified.
- set_pte_at is moved to mmu.c.
- write count checked.