diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-05 19:10:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-05 19:10:16 -0400 |
commit | 7e8767dddf3ad863a7013c334392e09177b48e2c (patch) | |
tree | 539597f8786439ee3e27819a5cd194da147fd7be /arch | |
parent | cab8e5c4444cb7d9b8035de5d81fbfd5284a02fa (diff) | |
parent | 082f47a79bfc8a526b9a3e14a0ae9504fc09cc12 (diff) |
Merge master.kernel.org:/home/rmk/linux-2.6-arm
* master.kernel.org:/home/rmk/linux-2.6-arm:
[ARM] always allow dump_stack() to produce a backtrace
[ARM] Fix non-page aligned boot time mappings
[ARM] 4458/1: pxa: Fix CKEN usage and hence fix pxa suspend/resume
[ARM] 4454/1: Use word accesses in Versatile PCI config reads
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/kernel/traps.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-pxa/pxa27x.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-versatile/pci.c | 5 | ||||
-rw-r--r-- | arch/arm/mm/mmu.c | 4 |
4 files changed, 8 insertions, 7 deletions
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index 1b68d365d0e1..237f4999b9a1 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c | |||
@@ -181,9 +181,7 @@ static void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk) | |||
181 | 181 | ||
182 | void dump_stack(void) | 182 | void dump_stack(void) |
183 | { | 183 | { |
184 | #ifdef CONFIG_DEBUG_ERRORS | ||
185 | __backtrace(); | 184 | __backtrace(); |
186 | #endif | ||
187 | } | 185 | } |
188 | 186 | ||
189 | EXPORT_SYMBOL(dump_stack); | 187 | EXPORT_SYMBOL(dump_stack); |
diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c index c64bab49efc4..1939acc3f9f7 100644 --- a/arch/arm/mach-pxa/pxa27x.c +++ b/arch/arm/mach-pxa/pxa27x.c | |||
@@ -140,9 +140,9 @@ void pxa_cpu_pm_enter(suspend_state_t state) | |||
140 | extern void pxa_cpu_resume(void); | 140 | extern void pxa_cpu_resume(void); |
141 | 141 | ||
142 | if (state == PM_SUSPEND_STANDBY) | 142 | if (state == PM_SUSPEND_STANDBY) |
143 | CKEN = CKEN_MEMC | CKEN_OSTIMER | CKEN_LCD | CKEN_PWM0; | 143 | CKEN = (1 << CKEN_MEMC) | (1 << CKEN_OSTIMER) | (1 << CKEN_LCD) | (1 << CKEN_PWM0); |
144 | else | 144 | else |
145 | CKEN = CKEN_MEMC | CKEN_OSTIMER; | 145 | CKEN = (1 << CKEN_MEMC) | (1 << CKEN_OSTIMER); |
146 | 146 | ||
147 | /* ensure voltage-change sequencer not initiated, which hangs */ | 147 | /* ensure voltage-change sequencer not initiated, which hangs */ |
148 | PCFR &= ~PCFR_FVC; | 148 | PCFR &= ~PCFR_FVC; |
diff --git a/arch/arm/mach-versatile/pci.c b/arch/arm/mach-versatile/pci.c index ba58223f12be..ca8290159432 100644 --- a/arch/arm/mach-versatile/pci.c +++ b/arch/arm/mach-versatile/pci.c | |||
@@ -117,7 +117,10 @@ static int versatile_read_config(struct pci_bus *bus, unsigned int devfn, int wh | |||
117 | } else { | 117 | } else { |
118 | switch (size) { | 118 | switch (size) { |
119 | case 1: | 119 | case 1: |
120 | v = __raw_readb(addr); | 120 | v = __raw_readl(addr); |
121 | if (where & 2) v >>= 16; | ||
122 | if (where & 1) v >>= 8; | ||
123 | v &= 0xff; | ||
121 | break; | 124 | break; |
122 | 125 | ||
123 | case 2: | 126 | case 2: |
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index 02e050ae59f6..3b5e47dc0c97 100644 --- a/arch/arm/mm/mmu.c +++ b/arch/arm/mm/mmu.c | |||
@@ -527,9 +527,9 @@ void __init create_mapping(struct map_desc *md) | |||
527 | return; | 527 | return; |
528 | } | 528 | } |
529 | 529 | ||
530 | addr = md->virtual; | 530 | addr = md->virtual & PAGE_MASK; |
531 | phys = (unsigned long)__pfn_to_phys(md->pfn); | 531 | phys = (unsigned long)__pfn_to_phys(md->pfn); |
532 | length = PAGE_ALIGN(md->length); | 532 | length = PAGE_ALIGN(md->length + (md->virtual & ~PAGE_MASK)); |
533 | 533 | ||
534 | if (type->prot_l1 == 0 && ((addr | phys | length) & ~SECTION_MASK)) { | 534 | if (type->prot_l1 == 0 && ((addr | phys | length) & ~SECTION_MASK)) { |
535 | printk(KERN_WARNING "BUG: map for 0x%08lx at 0x%08lx can not " | 535 | printk(KERN_WARNING "BUG: map for 0x%08lx at 0x%08lx can not " |