diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-11 13:09:45 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-11 13:09:45 -0400 |
commit | 7cc4e87f912bbefa440a51856b8d076e5d1f554a (patch) | |
tree | 1b8df8683f3de37d2e8211ffa8d151f60d59af62 /arch/arm/mm/proc-arm926.S | |
parent | 5ba2f67afb02c5302b2898949ed6fc3b3d37dcf1 (diff) | |
parent | 69fc7eed5f56bce15b239e5110de2575a6970df4 (diff) |
Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm
* 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (236 commits)
[ARM] 5300/1: fixup spitz reset during boot
[ARM] 5295/1: make ZONE_DMA optional
[ARM] 5239/1: Palm Zire 72 power management support
[ARM] 5298/1: Drop desc_handle_irq()
[ARM] 5297/1: [KS8695] Fix two compile-time warnings
[ARM] 5296/1: [KS8695] Replace macro's with trailing underscores.
[ARM] pxa: allow multi-machine PCMCIA builds
[ARM] pxa: add preliminary CPUFREQ support for PXA3xx
[ARM] pxa: add missing ACCR bit definitions to pxa3xx-regs.h
[ARM] pxa: rename cpu-pxa.c to cpufreq-pxa2xx.c
[ARM] pxa/zylonite: add support for USB OHCI
[ARM] ohci-pxa27x: use ioremap() and offset for register access
[ARM] ohci-pxa27x: introduce pxa27x_clear_otgph()
[ARM] ohci-pxa27x: use platform_get_{irq,resource} for the resource
[ARM] ohci-pxa27x: move OHCI controller specific registers into the driver
[ARM] ohci-pxa27x: introduce flags to avoid direct access to OHCI registers
[ARM] pxa: move I2S register and bit definitions into pxa2xx-i2s.c
[ARM] pxa: simplify DMA register definitions
[ARM] pxa: make additional DCSR bits valid for PXA3xx
[ARM] pxa: move i2c register and bit definitions into i2c-pxa.c
...
Fixed up conflicts in
arch/arm/mach-versatile/core.c
sound/soc/pxa/pxa2xx-ac97.c
sound/soc/pxa/pxa2xx-i2s.c
manually.
Diffstat (limited to 'arch/arm/mm/proc-arm926.S')
-rw-r--r-- | arch/arm/mm/proc-arm926.S | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/arch/arm/mm/proc-arm926.S b/arch/arm/mm/proc-arm926.S index 4cd33169a7c9..54466937bff9 100644 --- a/arch/arm/mm/proc-arm926.S +++ b/arch/arm/mm/proc-arm926.S | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/linkage.h> | 28 | #include <linux/linkage.h> |
29 | #include <linux/init.h> | 29 | #include <linux/init.h> |
30 | #include <asm/assembler.h> | 30 | #include <asm/assembler.h> |
31 | #include <asm/elf.h> | 31 | #include <asm/hwcap.h> |
32 | #include <asm/pgtable-hwdef.h> | 32 | #include <asm/pgtable-hwdef.h> |
33 | #include <asm/pgtable.h> | 33 | #include <asm/pgtable.h> |
34 | #include <asm/page.h> | 34 | #include <asm/page.h> |
@@ -359,29 +359,7 @@ ENTRY(cpu_arm926_switch_mm) | |||
359 | .align 5 | 359 | .align 5 |
360 | ENTRY(cpu_arm926_set_pte_ext) | 360 | ENTRY(cpu_arm926_set_pte_ext) |
361 | #ifdef CONFIG_MMU | 361 | #ifdef CONFIG_MMU |
362 | str r1, [r0], #-2048 @ linux version | 362 | armv3_set_pte_ext |
363 | |||
364 | eor r1, r1, #L_PTE_PRESENT | L_PTE_YOUNG | L_PTE_WRITE | L_PTE_DIRTY | ||
365 | |||
366 | bic r2, r1, #PTE_SMALL_AP_MASK | ||
367 | bic r2, r2, #PTE_TYPE_MASK | ||
368 | orr r2, r2, #PTE_TYPE_SMALL | ||
369 | |||
370 | tst r1, #L_PTE_USER @ User? | ||
371 | orrne r2, r2, #PTE_SMALL_AP_URO_SRW | ||
372 | |||
373 | tst r1, #L_PTE_WRITE | L_PTE_DIRTY @ Write and Dirty? | ||
374 | orreq r2, r2, #PTE_SMALL_AP_UNO_SRW | ||
375 | |||
376 | tst r1, #L_PTE_PRESENT | L_PTE_YOUNG @ Present and Young? | ||
377 | movne r2, #0 | ||
378 | |||
379 | #ifdef CONFIG_CPU_DCACHE_WRITETHROUGH | ||
380 | eor r3, r2, #0x0a @ C & small page? | ||
381 | tst r3, #0x0b | ||
382 | biceq r2, r2, #4 | ||
383 | #endif | ||
384 | str r2, [r0] @ hardware version | ||
385 | mov r0, r0 | 363 | mov r0, r0 |
386 | #ifndef CONFIG_CPU_DCACHE_WRITETHROUGH | 364 | #ifndef CONFIG_CPU_DCACHE_WRITETHROUGH |
387 | mcr p15, 0, r0, c7, c10, 1 @ clean D entry | 365 | mcr p15, 0, r0, c7, c10, 1 @ clean D entry |