diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-09 18:24:19 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-09 18:24:19 -0500 |
commit | 45ff993d2b0b4c07038457cdf07ecf648abd3d78 (patch) | |
tree | ae2f89ce5741e36d6eaab3178d86c2cd754801e4 /include | |
parent | cb834e7cc0e8b223386f219c1d1986846c87c55f (diff) | |
parent | 91bc51d8a10b00d8233dd5b6f07d7eb40828b87d (diff) |
Merge master.kernel.org:/home/rmk/linux-2.6-arm
* master.kernel.org:/home/rmk/linux-2.6-arm:
[ARM] pxa: fix one-shot timer mode
[ARM] 4645/1: Cyberpro: Trivial fix to restore 16bpp mode.
[ARM] 4644/2: fix flush_kern_tlb_range() in module space
[ARM] Allow watchdog drivers to be selected again
[ARM] 4633/1: omap build fix when FB enabled
[ARM] 4642/2: netX: default config for netx based boards
[ARM] 4641/2: netX: fix kobject_name type
[ARM] Fix iop3xx macro
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/hardware/iop3xx.h | 2 | ||||
-rw-r--r-- | include/asm-arm/pgtable.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-arm/hardware/iop3xx.h b/include/asm-arm/hardware/iop3xx.h index fb90b421f31c..ede377ec9147 100644 --- a/include/asm-arm/hardware/iop3xx.h +++ b/include/asm-arm/hardware/iop3xx.h | |||
@@ -231,7 +231,7 @@ extern int init_atu; | |||
231 | IOP3XX_PCI_IO_WINDOW_SIZE - 1) | 231 | IOP3XX_PCI_IO_WINDOW_SIZE - 1) |
232 | #define IOP3XX_PCI_UPPER_IO_VA (IOP3XX_PCI_LOWER_IO_VA +\ | 232 | #define IOP3XX_PCI_UPPER_IO_VA (IOP3XX_PCI_LOWER_IO_VA +\ |
233 | IOP3XX_PCI_IO_WINDOW_SIZE - 1) | 233 | IOP3XX_PCI_IO_WINDOW_SIZE - 1) |
234 | #define IOP3XX_PCI_IO_PHYS_TO_VIRT(addr) (((u32) addr -\ | 234 | #define IOP3XX_PCI_IO_PHYS_TO_VIRT(addr) (((u32) (addr) -\ |
235 | IOP3XX_PCI_LOWER_IO_PA) +\ | 235 | IOP3XX_PCI_LOWER_IO_PA) +\ |
236 | IOP3XX_PCI_LOWER_IO_VA) | 236 | IOP3XX_PCI_LOWER_IO_VA) |
237 | 237 | ||
diff --git a/include/asm-arm/pgtable.h b/include/asm-arm/pgtable.h index d2e8171d1d4e..5e0182485d8c 100644 --- a/include/asm-arm/pgtable.h +++ b/include/asm-arm/pgtable.h | |||
@@ -249,7 +249,7 @@ extern struct page *empty_zero_page; | |||
249 | #define set_pte_ext(ptep,pte,ext) cpu_set_pte_ext(ptep,pte,ext) | 249 | #define set_pte_ext(ptep,pte,ext) cpu_set_pte_ext(ptep,pte,ext) |
250 | 250 | ||
251 | #define set_pte_at(mm,addr,ptep,pteval) do { \ | 251 | #define set_pte_at(mm,addr,ptep,pteval) do { \ |
252 | set_pte_ext(ptep, pteval, (addr) >= PAGE_OFFSET ? 0 : PTE_EXT_NG); \ | 252 | set_pte_ext(ptep, pteval, (addr) >= TASK_SIZE ? 0 : PTE_EXT_NG); \ |
253 | } while (0) | 253 | } while (0) |
254 | 254 | ||
255 | /* | 255 | /* |