diff options
Diffstat (limited to 'include/asm-ppc')
-rw-r--r-- | include/asm-ppc/mv64x60.h | 8 | ||||
-rw-r--r-- | include/asm-ppc/pgtable.h | 11 | ||||
-rw-r--r-- | include/asm-ppc/segment.h | 1 |
3 files changed, 8 insertions, 12 deletions
diff --git a/include/asm-ppc/mv64x60.h b/include/asm-ppc/mv64x60.h index 835930d6faa1..75c2ffa26b26 100644 --- a/include/asm-ppc/mv64x60.h +++ b/include/asm-ppc/mv64x60.h | |||
@@ -119,6 +119,14 @@ extern spinlock_t mv64x60_lock; | |||
119 | 119 | ||
120 | #define MV64x60_64BIT_WIN_COUNT 24 | 120 | #define MV64x60_64BIT_WIN_COUNT 24 |
121 | 121 | ||
122 | /* Watchdog Platform Device, Driver Data */ | ||
123 | #define MV64x60_WDT_NAME "wdt" | ||
124 | |||
125 | struct mv64x60_wdt_pdata { | ||
126 | int timeout; /* watchdog expiry in seconds, default 10 */ | ||
127 | int bus_clk; /* bus clock in MHz, default 133 */ | ||
128 | }; | ||
129 | |||
122 | /* | 130 | /* |
123 | * Define a structure that's used to pass in config information to the | 131 | * Define a structure that's used to pass in config information to the |
124 | * core routines. | 132 | * core routines. |
diff --git a/include/asm-ppc/pgtable.h b/include/asm-ppc/pgtable.h index 92f30b28b252..eee601bb9ada 100644 --- a/include/asm-ppc/pgtable.h +++ b/include/asm-ppc/pgtable.h | |||
@@ -812,15 +812,6 @@ extern void kernel_set_cachemode (unsigned long address, unsigned long size, | |||
812 | #ifdef CONFIG_PHYS_64BIT | 812 | #ifdef CONFIG_PHYS_64BIT |
813 | extern int remap_pfn_range(struct vm_area_struct *vma, unsigned long from, | 813 | extern int remap_pfn_range(struct vm_area_struct *vma, unsigned long from, |
814 | unsigned long paddr, unsigned long size, pgprot_t prot); | 814 | unsigned long paddr, unsigned long size, pgprot_t prot); |
815 | static inline int io_remap_page_range(struct vm_area_struct *vma, | ||
816 | unsigned long vaddr, | ||
817 | unsigned long paddr, | ||
818 | unsigned long size, | ||
819 | pgprot_t prot) | ||
820 | { | ||
821 | phys_addr_t paddr64 = fixup_bigphys_addr(paddr, size); | ||
822 | return remap_pfn_range(vma, vaddr, paddr64 >> PAGE_SHIFT, size, prot); | ||
823 | } | ||
824 | 815 | ||
825 | static inline int io_remap_pfn_range(struct vm_area_struct *vma, | 816 | static inline int io_remap_pfn_range(struct vm_area_struct *vma, |
826 | unsigned long vaddr, | 817 | unsigned long vaddr, |
@@ -832,8 +823,6 @@ static inline int io_remap_pfn_range(struct vm_area_struct *vma, | |||
832 | return remap_pfn_range(vma, vaddr, paddr64 >> PAGE_SHIFT, size, prot); | 823 | return remap_pfn_range(vma, vaddr, paddr64 >> PAGE_SHIFT, size, prot); |
833 | } | 824 | } |
834 | #else | 825 | #else |
835 | #define io_remap_page_range(vma, vaddr, paddr, size, prot) \ | ||
836 | remap_pfn_range(vma, vaddr, (paddr) >> PAGE_SHIFT, size, prot) | ||
837 | #define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \ | 826 | #define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \ |
838 | remap_pfn_range(vma, vaddr, pfn, size, prot) | 827 | remap_pfn_range(vma, vaddr, pfn, size, prot) |
839 | #endif | 828 | #endif |
diff --git a/include/asm-ppc/segment.h b/include/asm-ppc/segment.h deleted file mode 100644 index 0f2f7428d437..000000000000 --- a/include/asm-ppc/segment.h +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | #include <asm/uaccess.h> | ||