]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Fix user space for omap2
authorTony Lindgren <tony@atomide.com>
Tue, 30 Aug 2005 16:36:49 +0000 (19:36 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 30 Aug 2005 16:36:49 +0000 (19:36 +0300)
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.

arch/arm/mm/proc-v6.S

index bd240189834a440b6f87dd96363e0313f91148b3..4bdd178ce7956301c8e709fd69a4aae2e4dec02d 100644 (file)
@@ -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