diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/cputable.h | 6 | ||||
-rw-r--r-- | include/asm-powerpc/mmu-44x.h | 2 | ||||
-rw-r--r-- | include/asm-powerpc/mpc8260.h | 6 | ||||
-rw-r--r-- | include/asm-powerpc/pgtable-ppc32.h | 15 | ||||
-rw-r--r-- | include/asm-powerpc/pmac_feature.h | 6 | ||||
-rw-r--r-- | include/asm-powerpc/systbl.h | 3 | ||||
-rw-r--r-- | include/asm-powerpc/tsi108_irq.h | 6 | ||||
-rw-r--r-- | include/asm-powerpc/tsi108_pci.h | 6 | ||||
-rw-r--r-- | include/asm-powerpc/unistd.h | 11 |
9 files changed, 28 insertions, 33 deletions
diff --git a/include/asm-powerpc/cputable.h b/include/asm-powerpc/cputable.h index 434524931ef3..82d595a52109 100644 --- a/include/asm-powerpc/cputable.h +++ b/include/asm-powerpc/cputable.h | |||
@@ -302,6 +302,12 @@ extern void do_feature_fixups(unsigned long value, void *fixup_start, | |||
302 | CPU_FTR_HPTE_TABLE | CPU_FTR_SPEC7450 | \ | 302 | CPU_FTR_HPTE_TABLE | CPU_FTR_SPEC7450 | \ |
303 | CPU_FTR_NAP_DISABLE_L2_PR | CPU_FTR_HAS_HIGH_BATS | \ | 303 | CPU_FTR_NAP_DISABLE_L2_PR | CPU_FTR_HAS_HIGH_BATS | \ |
304 | CPU_FTR_NEED_COHERENT | CPU_FTR_PPC_LE) | 304 | CPU_FTR_NEED_COHERENT | CPU_FTR_PPC_LE) |
305 | #define CPU_FTRS_7448 (CPU_FTR_COMMON | CPU_FTR_SPLIT_ID_CACHE | \ | ||
306 | CPU_FTR_USE_TB | \ | ||
307 | CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_L2CR | CPU_FTR_ALTIVEC_COMP | \ | ||
308 | CPU_FTR_HPTE_TABLE | CPU_FTR_SPEC7450 | \ | ||
309 | CPU_FTR_NAP_DISABLE_L2_PR | CPU_FTR_HAS_HIGH_BATS | \ | ||
310 | CPU_FTR_PPC_LE) | ||
305 | #define CPU_FTRS_82XX (CPU_FTR_COMMON | CPU_FTR_SPLIT_ID_CACHE | \ | 311 | #define CPU_FTRS_82XX (CPU_FTR_COMMON | CPU_FTR_SPLIT_ID_CACHE | \ |
306 | CPU_FTR_MAYBE_CAN_DOZE | CPU_FTR_USE_TB) | 312 | CPU_FTR_MAYBE_CAN_DOZE | CPU_FTR_USE_TB) |
307 | #define CPU_FTRS_G2_LE (CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_MAYBE_CAN_DOZE | \ | 313 | #define CPU_FTRS_G2_LE (CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_MAYBE_CAN_DOZE | \ |
diff --git a/include/asm-powerpc/mmu-44x.h b/include/asm-powerpc/mmu-44x.h index d5ce7a8dfe9f..62772ae839ca 100644 --- a/include/asm-powerpc/mmu-44x.h +++ b/include/asm-powerpc/mmu-44x.h | |||
@@ -55,8 +55,6 @@ | |||
55 | 55 | ||
56 | typedef unsigned long long phys_addr_t; | 56 | typedef unsigned long long phys_addr_t; |
57 | 57 | ||
58 | extern phys_addr_t fixup_bigphys_addr(phys_addr_t, phys_addr_t); | ||
59 | |||
60 | typedef struct { | 58 | typedef struct { |
61 | unsigned long id; | 59 | unsigned long id; |
62 | unsigned long vdso_base; | 60 | unsigned long vdso_base; |
diff --git a/include/asm-powerpc/mpc8260.h b/include/asm-powerpc/mpc8260.h index f1b83b09ab2e..e0d480790e12 100644 --- a/include/asm-powerpc/mpc8260.h +++ b/include/asm-powerpc/mpc8260.h | |||
@@ -5,8 +5,8 @@ | |||
5 | * this one and the configuration switching is done here. | 5 | * this one and the configuration switching is done here. |
6 | */ | 6 | */ |
7 | #ifdef __KERNEL__ | 7 | #ifdef __KERNEL__ |
8 | #ifndef __ASM_PPC_MPC8260_H__ | 8 | #ifndef __ASM_POWERPC_MPC8260_H__ |
9 | #define __ASM_PPC_MPC8260_H__ | 9 | #define __ASM_POWERPC_MPC8260_H__ |
10 | 10 | ||
11 | 11 | ||
12 | #ifdef CONFIG_8260 | 12 | #ifdef CONFIG_8260 |
@@ -20,5 +20,5 @@ | |||
20 | #endif | 20 | #endif |
21 | 21 | ||
22 | #endif /* CONFIG_8260 */ | 22 | #endif /* CONFIG_8260 */ |
23 | #endif /* !__ASM_PPC_MPC8260_H__ */ | 23 | #endif /* !__ASM_POWERPC_MPC8260_H__ */ |
24 | #endif /* __KERNEL__ */ | 24 | #endif /* __KERNEL__ */ |
diff --git a/include/asm-powerpc/pgtable-ppc32.h b/include/asm-powerpc/pgtable-ppc32.h index 09662a24f226..c863bdb2889c 100644 --- a/include/asm-powerpc/pgtable-ppc32.h +++ b/include/asm-powerpc/pgtable-ppc32.h | |||
@@ -782,23 +782,8 @@ extern void kernel_set_cachemode (unsigned long address, unsigned long size, | |||
782 | /* Needs to be defined here and not in linux/mm.h, as it is arch dependent */ | 782 | /* Needs to be defined here and not in linux/mm.h, as it is arch dependent */ |
783 | #define kern_addr_valid(addr) (1) | 783 | #define kern_addr_valid(addr) (1) |
784 | 784 | ||
785 | #ifdef CONFIG_PHYS_64BIT | ||
786 | extern int remap_pfn_range(struct vm_area_struct *vma, unsigned long from, | ||
787 | unsigned long paddr, unsigned long size, pgprot_t prot); | ||
788 | |||
789 | static inline int io_remap_pfn_range(struct vm_area_struct *vma, | ||
790 | unsigned long vaddr, | ||
791 | unsigned long pfn, | ||
792 | unsigned long size, | ||
793 | pgprot_t prot) | ||
794 | { | ||
795 | phys_addr_t paddr64 = fixup_bigphys_addr(pfn << PAGE_SHIFT, size); | ||
796 | return remap_pfn_range(vma, vaddr, paddr64 >> PAGE_SHIFT, size, prot); | ||
797 | } | ||
798 | #else | ||
799 | #define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \ | 785 | #define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \ |
800 | remap_pfn_range(vma, vaddr, pfn, size, prot) | 786 | remap_pfn_range(vma, vaddr, pfn, size, prot) |
801 | #endif | ||
802 | 787 | ||
803 | /* | 788 | /* |
804 | * No page table caches to initialise | 789 | * No page table caches to initialise |
diff --git a/include/asm-powerpc/pmac_feature.h b/include/asm-powerpc/pmac_feature.h index d43d91beba9b..26bcb0aa164a 100644 --- a/include/asm-powerpc/pmac_feature.h +++ b/include/asm-powerpc/pmac_feature.h | |||
@@ -28,8 +28,8 @@ | |||
28 | */ | 28 | */ |
29 | 29 | ||
30 | #ifdef __KERNEL__ | 30 | #ifdef __KERNEL__ |
31 | #ifndef __PPC_ASM_PMAC_FEATURE_H | 31 | #ifndef __ASM_POWERPC_PMAC_FEATURE_H |
32 | #define __PPC_ASM_PMAC_FEATURE_H | 32 | #define __ASM_POWERPC_PMAC_FEATURE_H |
33 | 33 | ||
34 | #include <asm/macio.h> | 34 | #include <asm/macio.h> |
35 | #include <asm/machdep.h> | 35 | #include <asm/machdep.h> |
@@ -393,5 +393,5 @@ extern u32 __iomem *uninorth_base; | |||
393 | #define UN_BIC(r,v) (UN_OUT((r), UN_IN(r) & ~(v))) | 393 | #define UN_BIC(r,v) (UN_OUT((r), UN_IN(r) & ~(v))) |
394 | 394 | ||
395 | 395 | ||
396 | #endif /* __PPC_ASM_PMAC_FEATURE_H */ | 396 | #endif /* __ASM_POWERPC_PMAC_FEATURE_H */ |
397 | #endif /* __KERNEL__ */ | 397 | #endif /* __KERNEL__ */ |
diff --git a/include/asm-powerpc/systbl.h b/include/asm-powerpc/systbl.h index 3d44446fb74f..700ca5928741 100644 --- a/include/asm-powerpc/systbl.h +++ b/include/asm-powerpc/systbl.h | |||
@@ -308,3 +308,6 @@ COMPAT_SYS_SPU(move_pages) | |||
308 | SYSCALL_SPU(getcpu) | 308 | SYSCALL_SPU(getcpu) |
309 | COMPAT_SYS(epoll_pwait) | 309 | COMPAT_SYS(epoll_pwait) |
310 | COMPAT_SYS_SPU(utimensat) | 310 | COMPAT_SYS_SPU(utimensat) |
311 | COMPAT_SYS_SPU(signalfd) | ||
312 | COMPAT_SYS_SPU(timerfd) | ||
313 | SYSCALL_SPU(eventfd) | ||
diff --git a/include/asm-powerpc/tsi108_irq.h b/include/asm-powerpc/tsi108_irq.h index 3e4d04effa57..6ed93979fbe4 100644 --- a/include/asm-powerpc/tsi108_irq.h +++ b/include/asm-powerpc/tsi108_irq.h | |||
@@ -26,8 +26,8 @@ | |||
26 | * demultiplexing on TSI108EMU/SVB boards. | 26 | * demultiplexing on TSI108EMU/SVB boards. |
27 | */ | 27 | */ |
28 | 28 | ||
29 | #ifndef _ASM_PPC_TSI108_IRQ_H | 29 | #ifndef _ASM_POWERPC_TSI108_IRQ_H |
30 | #define _ASM_PPC_TSI108_IRQ_H | 30 | #define _ASM_POWERPC_TSI108_IRQ_H |
31 | 31 | ||
32 | /* | 32 | /* |
33 | * Tsi108 interrupts | 33 | * Tsi108 interrupts |
@@ -121,4 +121,4 @@ typedef enum { | |||
121 | TSI108_IRQ_DIRECTED, | 121 | TSI108_IRQ_DIRECTED, |
122 | TSI108_IRQ_DISTRIBUTED, | 122 | TSI108_IRQ_DISTRIBUTED, |
123 | } TSI108_IRQ_MODE; | 123 | } TSI108_IRQ_MODE; |
124 | #endif /* _ASM_PPC_TSI108_IRQ_H */ | 124 | #endif /* _ASM_POWERPC_TSI108_IRQ_H */ |
diff --git a/include/asm-powerpc/tsi108_pci.h b/include/asm-powerpc/tsi108_pci.h index a9f92f73232c..5653d7cc3e24 100644 --- a/include/asm-powerpc/tsi108_pci.h +++ b/include/asm-powerpc/tsi108_pci.h | |||
@@ -18,8 +18,8 @@ | |||
18 | * MA 02111-1307 USA | 18 | * MA 02111-1307 USA |
19 | */ | 19 | */ |
20 | 20 | ||
21 | #ifndef _ASM_PPC_TSI108_PCI_H | 21 | #ifndef _ASM_POWERPC_TSI108_PCI_H |
22 | #define _ASM_PPC_TSI108_PCI_H | 22 | #define _ASM_POWERPC_TSI108_PCI_H |
23 | 23 | ||
24 | #include <asm/tsi108.h> | 24 | #include <asm/tsi108.h> |
25 | 25 | ||
@@ -42,4 +42,4 @@ extern void tsi108_pci_int_init(struct device_node *node); | |||
42 | extern void tsi108_irq_cascade(unsigned int irq, struct irq_desc *desc); | 42 | extern void tsi108_irq_cascade(unsigned int irq, struct irq_desc *desc); |
43 | extern void tsi108_clear_pci_cfg_error(void); | 43 | extern void tsi108_clear_pci_cfg_error(void); |
44 | 44 | ||
45 | #endif /* _ASM_PPC_TSI108_PCI_H */ | 45 | #endif /* _ASM_POWERPC_TSI108_PCI_H */ |
diff --git a/include/asm-powerpc/unistd.h b/include/asm-powerpc/unistd.h index 21f004aef508..e3c28dc31abf 100644 --- a/include/asm-powerpc/unistd.h +++ b/include/asm-powerpc/unistd.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef _ASM_PPC_UNISTD_H_ | 1 | #ifndef _ASM_POWERPC_UNISTD_H_ |
2 | #define _ASM_PPC_UNISTD_H_ | 2 | #define _ASM_POWERPC_UNISTD_H_ |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * This file contains the system call numbers. | 5 | * This file contains the system call numbers. |
@@ -327,10 +327,13 @@ | |||
327 | #define __NR_getcpu 302 | 327 | #define __NR_getcpu 302 |
328 | #define __NR_epoll_pwait 303 | 328 | #define __NR_epoll_pwait 303 |
329 | #define __NR_utimensat 304 | 329 | #define __NR_utimensat 304 |
330 | #define __NR_signalfd 305 | ||
331 | #define __NR_timerfd 306 | ||
332 | #define __NR_eventfd 307 | ||
330 | 333 | ||
331 | #ifdef __KERNEL__ | 334 | #ifdef __KERNEL__ |
332 | 335 | ||
333 | #define __NR_syscalls 305 | 336 | #define __NR_syscalls 308 |
334 | 337 | ||
335 | #define __NR__exit __NR_exit | 338 | #define __NR__exit __NR_exit |
336 | #define NR_syscalls __NR_syscalls | 339 | #define NR_syscalls __NR_syscalls |
@@ -381,4 +384,4 @@ | |||
381 | #endif /* __ASSEMBLY__ */ | 384 | #endif /* __ASSEMBLY__ */ |
382 | #endif /* __KERNEL__ */ | 385 | #endif /* __KERNEL__ */ |
383 | 386 | ||
384 | #endif /* _ASM_PPC_UNISTD_H_ */ | 387 | #endif /* _ASM_POWERPC_UNISTD_H_ */ |