From: Tony Lindgren Date: Tue, 30 Aug 2005 16:36:49 +0000 (+0300) Subject: ARM: OMAP: Fix user space for omap2 X-Git-Tag: v2.6.13-omap1~10 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=12d8b2dff6e0b8eac57386c95e8721efa4ee913e;p=linux-2.6-omap-h63xx.git ARM: OMAP: Fix user space for omap2 Recent PTE global bit patch broke user space for omap2: http://www.mail-archive.com/git-commits-head@vger.kernel.org/msg00119.html The symptoms would be that commands would not return. This fixes the problem, but there may be more to the issue than this. Have also posted same patch to armlinux mailing list to verify it. --- diff --git a/arch/arm/mm/proc-v6.S b/arch/arm/mm/proc-v6.S index bd240189834..4bdd178ce79 100644 --- a/arch/arm/mm/proc-v6.S +++ b/arch/arm/mm/proc-v6.S @@ -141,7 +141,7 @@ ENTRY(cpu_v6_set_pte) orreq r2, r2, #PTE_EXT_APX tst r1, #L_PTE_USER - orrne r2, r2, #PTE_EXT_AP1 + orrne r2, r2, #PTE_EXT_AP1 | PTE_EXT_NG bicne r2, r2, #PTE_EXT_AP0 tstne r1, #L_PTE_WRITE tstne r1, #L_PTE_DIRTY