Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc

* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
powerpc: Remove use of CONFIG_PPC_MERGE
powerpc: Force printing of 'total_memory' to unsigned long long
powerpc: Fix compiler warning in arch/powerpc/mm/mem.c
powerpc: Move include files to arch/powerpc/include/asm

+21 -399
+2 -2
Documentation/powerpc/booting-without-of.txt
··· 278 a 64-bit platform. 279 280 d) request and get assigned a platform number (see PLATFORM_* 281 - constants in include/asm-powerpc/processor.h 282 283 32-bit embedded kernels: 284 ··· 340 --------- 341 342 The kernel is entered with r3 pointing to an area of memory that is 343 - roughly described in include/asm-powerpc/prom.h by the structure 344 boot_param_header: 345 346 struct boot_param_header {
··· 278 a 64-bit platform. 279 280 d) request and get assigned a platform number (see PLATFORM_* 281 + constants in arch/powerpc/include/asm/processor.h 282 283 32-bit embedded kernels: 284 ··· 340 --------- 341 342 The kernel is entered with r3 pointing to an area of memory that is 343 + roughly described in arch/powerpc/include/asm/prom.h by the structure 344 boot_param_header: 345 346 struct boot_param_header {
+1 -1
Documentation/powerpc/eeh-pci-error-recovery.txt
··· 133 pci_get_device_by_addr() will find the pci device associated 134 with that address (if any). 135 136 - The default include/asm-powerpc/io.h macros readb(), inb(), insb(), 137 etc. include a check to see if the i/o read returned all-0xff's. 138 If so, these make a call to eeh_dn_check_failure(), which in turn 139 asks the firmware if the all-ff's value is the sign of a true EEH
··· 133 pci_get_device_by_addr() will find the pci device associated 134 with that address (if any). 135 136 + The default arch/powerpc/include/asm/io.h macros readb(), inb(), insb(), 137 etc. include a check to see if the i/o read returned all-0xff's. 138 If so, these make a call to eeh_dn_check_failure(), which in turn 139 asks the firmware if the all-ff's value is the sign of a true EEH
+1 -1
arch/powerpc/Kconfig.debug
··· 97 98 config VIRQ_DEBUG 99 bool "Expose hardware/virtual IRQ mapping via debugfs" 100 - depends on DEBUG_FS && PPC_MERGE 101 help 102 This option will show the mapping relationship between hardware irq 103 numbers and virtual irq numbers. The mapping is exposed via debugfs
··· 97 98 config VIRQ_DEBUG 99 bool "Expose hardware/virtual IRQ mapping via debugfs" 100 + depends on DEBUG_FS 101 help 102 This option will show the mapping relationship between hardware irq 103 numbers and virtual irq numbers. The mapping is exposed via debugfs
+1 -1
arch/powerpc/boot/io.h
··· 6 /* 7 * Low-level I/O routines. 8 * 9 - * Copied from <file:include/asm-powerpc/io.h> (which has no copyright) 10 */ 11 static inline int in_8(const volatile unsigned char *addr) 12 {
··· 6 /* 7 * Low-level I/O routines. 8 * 9 + * Copied from <file:arch/powerpc/include/asm/io.h> (which has no copyright) 10 */ 11 static inline int in_8(const volatile unsigned char *addr) 12 {
-14
arch/powerpc/kernel/Makefile
··· 59 obj-$(CONFIG_MODULES) += module.o module_$(CONFIG_WORD_SIZE).o 60 obj-$(CONFIG_44x) += cpu_setup_44x.o 61 62 - ifeq ($(CONFIG_PPC_MERGE),y) 63 - 64 extra-$(CONFIG_PPC_STD_MMU) := head_32.o 65 extra-$(CONFIG_PPC64) := head_64.o 66 extra-$(CONFIG_40x) := head_40x.o ··· 98 obj-y += iomap.o 99 endif 100 101 - else 102 - # stuff used from here for ARCH=ppc 103 - smpobj-$(CONFIG_SMP) += smp.o 104 - 105 - endif 106 - 107 obj-$(CONFIG_PPC64) += $(obj64-y) 108 109 extra-$(CONFIG_PPC_FPU) += fpu.o ··· 113 systbl_chk: $(src)/systbl_chk.sh $(obj)/systbl_chk.i 114 $(call cmd,systbl_chk) 115 116 - 117 - ifeq ($(CONFIG_PPC_MERGE),y) 118 - 119 $(obj)/built-in.o: prom_init_check 120 121 quiet_cmd_prom_init_check = CALL $< ··· 121 PHONY += prom_init_check 122 prom_init_check: $(src)/prom_init_check.sh $(obj)/prom_init.o 123 $(call cmd,prom_init_check) 124 - 125 - endif 126 - 127 128 clean-files := vmlinux.lds
··· 59 obj-$(CONFIG_MODULES) += module.o module_$(CONFIG_WORD_SIZE).o 60 obj-$(CONFIG_44x) += cpu_setup_44x.o 61 62 extra-$(CONFIG_PPC_STD_MMU) := head_32.o 63 extra-$(CONFIG_PPC64) := head_64.o 64 extra-$(CONFIG_40x) := head_40x.o ··· 100 obj-y += iomap.o 101 endif 102 103 obj-$(CONFIG_PPC64) += $(obj64-y) 104 105 extra-$(CONFIG_PPC_FPU) += fpu.o ··· 121 systbl_chk: $(src)/systbl_chk.sh $(obj)/systbl_chk.i 122 $(call cmd,systbl_chk) 123 124 $(obj)/built-in.o: prom_init_check 125 126 quiet_cmd_prom_init_check = CALL $< ··· 132 PHONY += prom_init_check 133 prom_init_check: $(src)/prom_init_check.sh $(obj)/prom_init.o 134 $(call cmd,prom_init_check) 135 136 clean-files := vmlinux.lds
-6
arch/powerpc/kernel/cpu_setup_44x.S
··· 39 _GLOBAL(__setup_cpu_440spe) 40 b __fixup_440A_mcheck 41 42 - /* Temporary fixup for arch/ppc until we kill the whole thing */ 43 - #ifndef CONFIG_PPC_MERGE 44 - _GLOBAL(__fixup_440A_mcheck) 45 - blr 46 - #endif 47 - 48 /* enable APU between CPU and FPU */ 49 _GLOBAL(__init_fpu_44x) 50 mfspr r3,SPRN_CCR0
··· 39 _GLOBAL(__setup_cpu_440spe) 40 b __fixup_440A_mcheck 41 42 /* enable APU between CPU and FPU */ 43 _GLOBAL(__init_fpu_44x) 44 mfspr r3,SPRN_CCR0
+2 -23
arch/powerpc/kernel/irq.c
··· 77 EXPORT_SYMBOL(__irq_offset_value); 78 atomic_t ppc_n_lost_interrupts; 79 80 - #ifndef CONFIG_PPC_MERGE 81 - #define NR_MASK_WORDS ((NR_IRQS + 31) / 32) 82 - unsigned long ppc_cached_irq_mask[NR_MASK_WORDS]; 83 - #endif 84 - 85 #ifdef CONFIG_TAU_INT 86 extern int tau_initialized; 87 extern int tau_interrupts(int); 88 #endif 89 #endif /* CONFIG_PPC32 */ 90 - 91 - #if defined(CONFIG_SMP) && !defined(CONFIG_PPC_MERGE) 92 - extern atomic_t ipi_recv; 93 - extern atomic_t ipi_sent; 94 - #endif 95 96 #ifdef CONFIG_PPC64 97 EXPORT_SYMBOL(irq_desc); ··· 206 skip: 207 spin_unlock_irqrestore(&desc->lock, flags); 208 } else if (i == NR_IRQS) { 209 - #ifdef CONFIG_PPC32 210 - #ifdef CONFIG_TAU_INT 211 if (tau_initialized){ 212 seq_puts(p, "TAU: "); 213 for_each_online_cpu(j) 214 seq_printf(p, "%10u ", tau_interrupts(j)); 215 seq_puts(p, " PowerPC Thermal Assist (cpu temp)\n"); 216 } 217 - #endif 218 - #if defined(CONFIG_SMP) && !defined(CONFIG_PPC_MERGE) 219 - /* should this be per processor send/receive? */ 220 - seq_printf(p, "IPI (recv/sent): %10u/%u\n", 221 - atomic_read(&ipi_recv), atomic_read(&ipi_sent)); 222 - #endif 223 - #endif /* CONFIG_PPC32 */ 224 seq_printf(p, "BAD: %10u\n", ppc_spurious_interrupts); 225 } 226 return 0; ··· 436 /* 437 * IRQ controller and virtual interrupts 438 */ 439 - 440 - #ifdef CONFIG_PPC_MERGE 441 442 static LIST_HEAD(irq_hosts); 443 static DEFINE_SPINLOCK(irq_big_lock); ··· 1094 } 1095 __initcall(irq_debugfs_init); 1096 #endif /* CONFIG_VIRQ_DEBUG */ 1097 - 1098 - #endif /* CONFIG_PPC_MERGE */ 1099 1100 #ifdef CONFIG_PPC64 1101 static int __init setup_noirqdistrib(char *str)
··· 77 EXPORT_SYMBOL(__irq_offset_value); 78 atomic_t ppc_n_lost_interrupts; 79 80 #ifdef CONFIG_TAU_INT 81 extern int tau_initialized; 82 extern int tau_interrupts(int); 83 #endif 84 #endif /* CONFIG_PPC32 */ 85 86 #ifdef CONFIG_PPC64 87 EXPORT_SYMBOL(irq_desc); ··· 216 skip: 217 spin_unlock_irqrestore(&desc->lock, flags); 218 } else if (i == NR_IRQS) { 219 + #if defined(CONFIG_PPC32) && defined(CONFIG_TAU_INT) 220 if (tau_initialized){ 221 seq_puts(p, "TAU: "); 222 for_each_online_cpu(j) 223 seq_printf(p, "%10u ", tau_interrupts(j)); 224 seq_puts(p, " PowerPC Thermal Assist (cpu temp)\n"); 225 } 226 + #endif /* CONFIG_PPC32 && CONFIG_TAU_INT*/ 227 seq_printf(p, "BAD: %10u\n", ppc_spurious_interrupts); 228 } 229 return 0; ··· 453 /* 454 * IRQ controller and virtual interrupts 455 */ 456 457 static LIST_HEAD(irq_hosts); 458 static DEFINE_SPINLOCK(irq_big_lock); ··· 1113 } 1114 __initcall(irq_debugfs_init); 1115 #endif /* CONFIG_VIRQ_DEBUG */ 1116 1117 #ifdef CONFIG_PPC64 1118 static int __init setup_noirqdistrib(char *str)
-2
arch/powerpc/kernel/process.c
··· 276 { 277 __get_cpu_var(current_dabr) = dabr; 278 279 - #ifdef CONFIG_PPC_MERGE /* XXX for now */ 280 if (ppc_md.set_dabr) 281 return ppc_md.set_dabr(dabr); 282 - #endif 283 284 /* XXX should we have a CPU_FTR_HAS_DABR ? */ 285 #if defined(CONFIG_PPC64) || defined(CONFIG_6xx)
··· 276 { 277 __get_cpu_var(current_dabr) = dabr; 278 279 if (ppc_md.set_dabr) 280 return ppc_md.set_dabr(dabr); 281 282 /* XXX should we have a CPU_FTR_HAS_DABR ? */ 283 #if defined(CONFIG_PPC64) || defined(CONFIG_6xx)
-2
arch/powerpc/kernel/vdso.c
··· 788 789 return 0; 790 } 791 - #ifdef CONFIG_PPC_MERGE 792 arch_initcall(vdso_init); 793 - #endif 794 795 int in_gate_area_no_task(unsigned long addr) 796 {
··· 788 789 return 0; 790 } 791 arch_initcall(vdso_init); 792 793 int in_gate_area_no_task(unsigned long addr) 794 {
-2
arch/powerpc/lib/Makefile
··· 6 EXTRA_CFLAGS += -mno-minimal-toc 7 endif 8 9 - ifeq ($(CONFIG_PPC_MERGE),y) 10 obj-y := string.o alloc.o \ 11 checksum_$(CONFIG_WORD_SIZE).o 12 obj-$(CONFIG_PPC32) += div64.o copy_32.o crtsavres.o 13 obj-$(CONFIG_HAS_IOMEM) += devres.o 14 - endif 15 16 obj-$(CONFIG_PPC64) += copypage_64.o copyuser_64.o \ 17 memcpy_64.o usercopy_64.o mem_64.o string.o
··· 6 EXTRA_CFLAGS += -mno-minimal-toc 7 endif 8 9 obj-y := string.o alloc.o \ 10 checksum_$(CONFIG_WORD_SIZE).o 11 obj-$(CONFIG_PPC32) += div64.o copy_32.o crtsavres.o 12 obj-$(CONFIG_HAS_IOMEM) += devres.o 13 14 obj-$(CONFIG_PPC64) += copypage_64.o copyuser_64.o \ 15 memcpy_64.o usercopy_64.o mem_64.o string.o
+1 -1
arch/powerpc/mm/mem.c
··· 311 #endif /* CONFIG_HIGHMEM */ 312 313 printk(KERN_DEBUG "Top of RAM: 0x%llx, Total RAM: 0x%lx\n", 314 - (u64)top_of_ram, total_ram); 315 printk(KERN_DEBUG "Memory hole size: %ldMB\n", 316 (long int)((top_of_ram - total_ram) >> 20)); 317 memset(max_zone_pfns, 0, sizeof(max_zone_pfns));
··· 311 #endif /* CONFIG_HIGHMEM */ 312 313 printk(KERN_DEBUG "Top of RAM: 0x%llx, Total RAM: 0x%lx\n", 314 + (unsigned long long)top_of_ram, total_ram); 315 printk(KERN_DEBUG "Memory hole size: %ldMB\n", 316 (long int)((top_of_ram - total_ram) >> 20)); 317 memset(max_zone_pfns, 0, sizeof(max_zone_pfns));
+2 -2
arch/powerpc/mm/ppc_mmu_32.c
··· 236 237 Hash_end = (struct hash_pte *) ((unsigned long)Hash + Hash_size); 238 239 - printk("Total memory = %ldMB; using %ldkB for hash table (at %p)\n", 240 - total_memory >> 20, Hash_size >> 10, Hash); 241 242 243 /*
··· 236 237 Hash_end = (struct hash_pte *) ((unsigned long)Hash + Hash_size); 238 239 + printk("Total memory = %lldMB; using %ldkB for hash table (at %p)\n", 240 + (unsigned long long)(total_memory >> 20), Hash_size >> 10, Hash); 241 242 243 /*
+1 -1
arch/powerpc/mm/tlb_64.c
··· 34 DEFINE_PER_CPU(struct ppc64_tlb_batch, ppc64_tlb_batch); 35 36 /* This is declared as we are using the more or less generic 37 - * include/asm-powerpc/tlb.h file -- tgall 38 */ 39 DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); 40 static DEFINE_PER_CPU(struct pte_freelist_batch *, pte_freelist_cur);
··· 34 DEFINE_PER_CPU(struct ppc64_tlb_batch, ppc64_tlb_batch); 35 36 /* This is declared as we are using the more or less generic 37 + * arch/powerpc/include/asm/tlb.h file -- tgall 38 */ 39 DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); 40 static DEFINE_PER_CPU(struct pte_freelist_batch *, pte_freelist_cur);
-2
arch/powerpc/platforms/52xx/Makefile
··· 1 # 2 # Makefile for 52xx based boards 3 # 4 - ifeq ($(CONFIG_PPC_MERGE),y) 5 obj-y += mpc52xx_pic.o mpc52xx_common.o 6 obj-$(CONFIG_PCI) += mpc52xx_pci.o 7 - endif 8 9 obj-$(CONFIG_PPC_MPC5200_SIMPLE) += mpc5200_simple.o 10 obj-$(CONFIG_PPC_EFIKA) += efika.o
··· 1 # 2 # Makefile for 52xx based boards 3 # 4 obj-y += mpc52xx_pic.o mpc52xx_common.o 5 obj-$(CONFIG_PCI) += mpc52xx_pci.o 6 7 obj-$(CONFIG_PPC_MPC5200_SIMPLE) += mpc5200_simple.o 8 obj-$(CONFIG_PPC_EFIKA) += efika.o
+1 -1
arch/powerpc/platforms/86xx/mpc86xx_smp.c
··· 19 #include <asm/page.h> 20 #include <asm/pgtable.h> 21 #include <asm/pci-bridge.h> 22 - #include <asm-powerpc/mpic.h> 23 #include <asm/mpc86xx.h> 24 #include <asm/cacheflush.h> 25
··· 19 #include <asm/page.h> 20 #include <asm/pgtable.h> 21 #include <asm/pci-bridge.h> 22 + #include <asm/mpic.h> 23 #include <asm/mpc86xx.h> 24 #include <asm/cacheflush.h> 25
-6
arch/powerpc/platforms/Makefile
··· 1 2 obj-$(CONFIG_FSL_ULI1575) += fsl_uli1575.o 3 4 - ifeq ($(CONFIG_PPC_MERGE),y) 5 obj-$(CONFIG_PPC_PMAC) += powermac/ 6 - else 7 - ifeq ($(CONFIG_PPC64),y) 8 - obj-$(CONFIG_PPC_PMAC) += powermac/ 9 - endif 10 - endif 11 obj-$(CONFIG_PPC_CHRP) += chrp/ 12 obj-$(CONFIG_40x) += 40x/ 13 obj-$(CONFIG_44x) += 44x/
··· 1 2 obj-$(CONFIG_FSL_ULI1575) += fsl_uli1575.o 3 4 obj-$(CONFIG_PPC_PMAC) += powermac/ 5 obj-$(CONFIG_PPC_CHRP) += chrp/ 6 obj-$(CONFIG_40x) += 40x/ 7 obj-$(CONFIG_44x) += 44x/
+1 -2
arch/powerpc/platforms/powermac/Makefile
··· 7 8 obj-y += pic.o setup.o time.o feature.o pci.o \ 9 sleep.o low_i2c.o cache.o pfunc_core.o \ 10 - pfunc_base.o 11 obj-$(CONFIG_PMAC_BACKLIGHT) += backlight.o 12 obj-$(CONFIG_CPU_FREQ_PMAC) += cpufreq_32.o 13 obj-$(CONFIG_CPU_FREQ_PMAC64) += cpufreq_64.o ··· 19 obj-$(CONFIG_PPC64) += nvram.o 20 obj-$(CONFIG_PPC32) += bootx_init.o 21 obj-$(CONFIG_SMP) += smp.o 22 - obj-$(CONFIG_PPC_MERGE) += udbg_scc.o udbg_adb.o
··· 7 8 obj-y += pic.o setup.o time.o feature.o pci.o \ 9 sleep.o low_i2c.o cache.o pfunc_core.o \ 10 + pfunc_base.o udbg_scc.o udbg_adb.o 11 obj-$(CONFIG_PMAC_BACKLIGHT) += backlight.o 12 obj-$(CONFIG_CPU_FREQ_PMAC) += cpufreq_32.o 13 obj-$(CONFIG_CPU_FREQ_PMAC64) += cpufreq_64.o ··· 19 obj-$(CONFIG_PPC64) += nvram.o 20 obj-$(CONFIG_PPC32) += bootx_init.o 21 obj-$(CONFIG_SMP) += smp.o
-2
arch/powerpc/sysdev/Makefile
··· 25 obj-$(CONFIG_RTC_DRV_CMOS) += rtc_cmos_setup.o 26 obj-$(CONFIG_AXON_RAM) += axonram.o 27 28 - ifeq ($(CONFIG_PPC_MERGE),y) 29 obj-$(CONFIG_PPC_INDIRECT_PCI) += indirect_pci.o 30 obj-$(CONFIG_PPC_I8259) += i8259.o 31 obj-$(CONFIG_IPIC) += ipic.o ··· 34 obj-$(CONFIG_OF_RTC) += of_rtc.o 35 ifeq ($(CONFIG_PCI),y) 36 obj-$(CONFIG_4xx) += ppc4xx_pci.o 37 - endif 38 endif 39 40 # Temporary hack until we have migrated to asm-powerpc
··· 25 obj-$(CONFIG_RTC_DRV_CMOS) += rtc_cmos_setup.o 26 obj-$(CONFIG_AXON_RAM) += axonram.o 27 28 obj-$(CONFIG_PPC_INDIRECT_PCI) += indirect_pci.o 29 obj-$(CONFIG_PPC_I8259) += i8259.o 30 obj-$(CONFIG_IPIC) += ipic.o ··· 35 obj-$(CONFIG_OF_RTC) += of_rtc.o 36 ifeq ($(CONFIG_PCI),y) 37 obj-$(CONFIG_4xx) += ppc4xx_pci.o 38 endif 39 40 # Temporary hack until we have migrated to asm-powerpc
+1 -1
drivers/char/hvc_console.h
··· 6 * Ryan S. Arnold <rsa@us.ibm.com> 7 * 8 * hvc_console header information: 9 - * moved here from include/asm-powerpc/hvconsole.h 10 * and drivers/char/hvc_console.c 11 * 12 * This program is free software; you can redistribute it and/or modify
··· 6 * Ryan S. Arnold <rsa@us.ibm.com> 7 * 8 * hvc_console header information: 9 + * moved here from arch/powerpc/include/asm/hvconsole.h 10 * and drivers/char/hvc_console.c 11 * 12 * This program is free software; you can redistribute it and/or modify
+1 -1
drivers/char/hvcs.c
··· 114 * the hvcs_final_close() function in order to get it out of the spinlock. 115 * Rearranged hvcs_close(). Cleaned up some printks and did some housekeeping 116 * on the changelog. Removed local CLC_LENGTH and used HVCS_CLC_LENGTH from 117 - * include/asm-powerpc/hvcserver.h 118 * 119 * 1.3.2 -> 1.3.3 Replaced yield() in hvcs_close() with tty_wait_until_sent() to 120 * prevent possible lockup with realtime scheduling as similarily pointed out by
··· 114 * the hvcs_final_close() function in order to get it out of the spinlock. 115 * Rearranged hvcs_close(). Cleaned up some printks and did some housekeeping 116 * on the changelog. Removed local CLC_LENGTH and used HVCS_CLC_LENGTH from 117 + * arch/powerepc/include/asm/hvcserver.h 118 * 119 * 1.3.2 -> 1.3.3 Replaced yield() in hvcs_close() with tty_wait_until_sent() to 120 * prevent possible lockup with realtime scheduling as similarily pointed out by
+1 -1
drivers/infiniband/hw/ehca/ehca_reqs.c
··· 42 */ 43 44 45 - #include <asm-powerpc/system.h> 46 #include "ehca_classes.h" 47 #include "ehca_tools.h" 48 #include "ehca_qes.h"
··· 42 */ 43 44 45 + #include <asm/system.h> 46 #include "ehca_classes.h" 47 #include "ehca_tools.h" 48 #include "ehca_qes.h"
include/asm-powerpc/8253pit.h arch/powerpc/include/asm/8253pit.h
include/asm-powerpc/8xx_immap.h arch/powerpc/include/asm/8xx_immap.h
include/asm-powerpc/Kbuild arch/powerpc/include/asm/Kbuild
include/asm-powerpc/a.out.h arch/powerpc/include/asm/a.out.h
include/asm-powerpc/abs_addr.h arch/powerpc/include/asm/abs_addr.h
include/asm-powerpc/agp.h arch/powerpc/include/asm/agp.h
include/asm-powerpc/asm-compat.h arch/powerpc/include/asm/asm-compat.h
include/asm-powerpc/atomic.h arch/powerpc/include/asm/atomic.h
include/asm-powerpc/auxvec.h arch/powerpc/include/asm/auxvec.h
include/asm-powerpc/backlight.h arch/powerpc/include/asm/backlight.h
include/asm-powerpc/bitops.h arch/powerpc/include/asm/bitops.h
include/asm-powerpc/bootx.h arch/powerpc/include/asm/bootx.h
include/asm-powerpc/btext.h arch/powerpc/include/asm/btext.h
include/asm-powerpc/bug.h arch/powerpc/include/asm/bug.h
include/asm-powerpc/bugs.h arch/powerpc/include/asm/bugs.h
include/asm-powerpc/byteorder.h arch/powerpc/include/asm/byteorder.h
include/asm-powerpc/cache.h arch/powerpc/include/asm/cache.h
include/asm-powerpc/cacheflush.h arch/powerpc/include/asm/cacheflush.h
include/asm-powerpc/cell-pmu.h arch/powerpc/include/asm/cell-pmu.h
include/asm-powerpc/cell-regs.h arch/powerpc/include/asm/cell-regs.h
include/asm-powerpc/checksum.h arch/powerpc/include/asm/checksum.h
include/asm-powerpc/clk_interface.h arch/powerpc/include/asm/clk_interface.h
include/asm-powerpc/code-patching.h arch/powerpc/include/asm/code-patching.h
include/asm-powerpc/compat.h arch/powerpc/include/asm/compat.h
include/asm-powerpc/cpm.h arch/powerpc/include/asm/cpm.h
include/asm-powerpc/cpm1.h arch/powerpc/include/asm/cpm1.h
include/asm-powerpc/cpm2.h arch/powerpc/include/asm/cpm2.h
include/asm-powerpc/cputable.h arch/powerpc/include/asm/cputable.h
include/asm-powerpc/cputhreads.h arch/powerpc/include/asm/cputhreads.h
include/asm-powerpc/cputime.h arch/powerpc/include/asm/cputime.h
include/asm-powerpc/current.h arch/powerpc/include/asm/current.h
include/asm-powerpc/dbdma.h arch/powerpc/include/asm/dbdma.h
include/asm-powerpc/dcr-generic.h arch/powerpc/include/asm/dcr-generic.h
include/asm-powerpc/dcr-mmio.h arch/powerpc/include/asm/dcr-mmio.h
include/asm-powerpc/dcr-native.h arch/powerpc/include/asm/dcr-native.h
include/asm-powerpc/dcr-regs.h arch/powerpc/include/asm/dcr-regs.h
+1 -5
include/asm-powerpc/dcr.h arch/powerpc/include/asm/dcr.h
··· 65 #endif /* defined(CONFIG_PPC_DCR_NATIVE) && defined(CONFIG_PPC_DCR_MMIO) */ 66 67 /* 68 - * On CONFIG_PPC_MERGE, we have additional helpers to read the DCR 69 - * base from the device-tree 70 */ 71 - #ifdef CONFIG_PPC_MERGE 72 struct device_node; 73 extern unsigned int dcr_resource_start(struct device_node *np, 74 unsigned int index); 75 extern unsigned int dcr_resource_len(struct device_node *np, 76 unsigned int index); 77 - #endif /* CONFIG_PPC_MERGE */ 78 - 79 #endif /* CONFIG_PPC_DCR */ 80 #endif /* __ASSEMBLY__ */ 81 #endif /* __KERNEL__ */
··· 65 #endif /* defined(CONFIG_PPC_DCR_NATIVE) && defined(CONFIG_PPC_DCR_MMIO) */ 66 67 /* 68 + * additional helpers to read the DCR * base from the device-tree 69 */ 70 struct device_node; 71 extern unsigned int dcr_resource_start(struct device_node *np, 72 unsigned int index); 73 extern unsigned int dcr_resource_len(struct device_node *np, 74 unsigned int index); 75 #endif /* CONFIG_PPC_DCR */ 76 #endif /* __ASSEMBLY__ */ 77 #endif /* __KERNEL__ */
include/asm-powerpc/delay.h arch/powerpc/include/asm/delay.h
include/asm-powerpc/device.h arch/powerpc/include/asm/device.h
include/asm-powerpc/div64.h arch/powerpc/include/asm/div64.h
include/asm-powerpc/dma-mapping.h arch/powerpc/include/asm/dma-mapping.h
include/asm-powerpc/dma.h arch/powerpc/include/asm/dma.h
include/asm-powerpc/edac.h arch/powerpc/include/asm/edac.h
include/asm-powerpc/eeh.h arch/powerpc/include/asm/eeh.h
include/asm-powerpc/eeh_event.h arch/powerpc/include/asm/eeh_event.h
include/asm-powerpc/elf.h arch/powerpc/include/asm/elf.h
include/asm-powerpc/emergency-restart.h arch/powerpc/include/asm/emergency-restart.h
include/asm-powerpc/errno.h arch/powerpc/include/asm/errno.h
include/asm-powerpc/exception.h arch/powerpc/include/asm/exception.h
include/asm-powerpc/fb.h arch/powerpc/include/asm/fb.h
include/asm-powerpc/fcntl.h arch/powerpc/include/asm/fcntl.h
include/asm-powerpc/feature-fixups.h arch/powerpc/include/asm/feature-fixups.h
include/asm-powerpc/firmware.h arch/powerpc/include/asm/firmware.h
include/asm-powerpc/fixmap.h arch/powerpc/include/asm/fixmap.h
include/asm-powerpc/floppy.h arch/powerpc/include/asm/floppy.h
include/asm-powerpc/fs_pd.h arch/powerpc/include/asm/fs_pd.h
include/asm-powerpc/fsl_gtm.h arch/powerpc/include/asm/fsl_gtm.h
include/asm-powerpc/fsl_lbc.h arch/powerpc/include/asm/fsl_lbc.h
include/asm-powerpc/ftrace.h arch/powerpc/include/asm/ftrace.h
include/asm-powerpc/futex.h arch/powerpc/include/asm/futex.h
include/asm-powerpc/gpio.h arch/powerpc/include/asm/gpio.h
include/asm-powerpc/grackle.h arch/powerpc/include/asm/grackle.h
include/asm-powerpc/hardirq.h arch/powerpc/include/asm/hardirq.h
include/asm-powerpc/heathrow.h arch/powerpc/include/asm/heathrow.h
include/asm-powerpc/highmem.h arch/powerpc/include/asm/highmem.h
include/asm-powerpc/hugetlb.h arch/powerpc/include/asm/hugetlb.h
include/asm-powerpc/hvcall.h arch/powerpc/include/asm/hvcall.h
include/asm-powerpc/hvconsole.h arch/powerpc/include/asm/hvconsole.h
include/asm-powerpc/hvcserver.h arch/powerpc/include/asm/hvcserver.h
include/asm-powerpc/hw_irq.h arch/powerpc/include/asm/hw_irq.h
include/asm-powerpc/hydra.h arch/powerpc/include/asm/hydra.h
-5
include/asm-powerpc/i8259.h arch/powerpc/include/asm/i8259.h
··· 4 5 #include <linux/irq.h> 6 7 - #ifdef CONFIG_PPC_MERGE 8 extern void i8259_init(struct device_node *node, unsigned long intack_addr); 9 extern unsigned int i8259_irq(void); 10 extern struct irq_host *i8259_get_host(void); 11 - #else 12 - extern void i8259_init(unsigned long intack_addr, int offset); 13 - extern int i8259_irq(void); 14 - #endif 15 16 #endif /* __KERNEL__ */ 17 #endif /* _ASM_POWERPC_I8259_H */
··· 4 5 #include <linux/irq.h> 6 7 extern void i8259_init(struct device_node *node, unsigned long intack_addr); 8 extern unsigned int i8259_irq(void); 9 extern struct irq_host *i8259_get_host(void); 10 11 #endif /* __KERNEL__ */ 12 #endif /* _ASM_POWERPC_I8259_H */
include/asm-powerpc/ibmebus.h arch/powerpc/include/asm/ibmebus.h
include/asm-powerpc/ide.h arch/powerpc/include/asm/ide.h
include/asm-powerpc/immap_86xx.h arch/powerpc/include/asm/immap_86xx.h
include/asm-powerpc/immap_cpm2.h arch/powerpc/include/asm/immap_cpm2.h
-2
include/asm-powerpc/immap_qe.h arch/powerpc/include/asm/immap_qe.h
··· 1 /* 2 - * include/asm-powerpc/immap_qe.h 3 - * 4 * QUICC Engine (QE) Internal Memory Map. 5 * The Internal Memory Map for devices with QE on them. This 6 * is the superset of all QE devices (8360, etc.).
··· 1 /* 2 * QUICC Engine (QE) Internal Memory Map. 3 * The Internal Memory Map for devices with QE on them. This 4 * is the superset of all QE devices (8360, etc.).
include/asm-powerpc/io-defs.h arch/powerpc/include/asm/io-defs.h
include/asm-powerpc/io.h arch/powerpc/include/asm/io.h
include/asm-powerpc/ioctl.h arch/powerpc/include/asm/ioctl.h
include/asm-powerpc/ioctls.h arch/powerpc/include/asm/ioctls.h
include/asm-powerpc/iommu.h arch/powerpc/include/asm/iommu.h
include/asm-powerpc/ipcbuf.h arch/powerpc/include/asm/ipcbuf.h
-9
include/asm-powerpc/ipic.h arch/powerpc/include/asm/ipic.h
··· 1 /* 2 - * include/asm-powerpc/ipic.h 3 - * 4 * IPIC external definitions and structure. 5 * 6 * Maintainer: Kumar Gala <galak@kernel.crashing.org> ··· 77 extern u32 ipic_get_mcp_status(void); 78 extern void ipic_clear_mcp_status(u32 mask); 79 80 - #ifdef CONFIG_PPC_MERGE 81 extern struct ipic * ipic_init(struct device_node *node, unsigned int flags); 82 extern unsigned int ipic_get_irq(void); 83 - #else 84 - extern void ipic_init(phys_addr_t phys_addr, unsigned int flags, 85 - unsigned int irq_offset, 86 - unsigned char *senses, unsigned int senses_count); 87 - extern int ipic_get_irq(void); 88 - #endif 89 90 #endif /* __ASM_IPIC_H__ */ 91 #endif /* __KERNEL__ */
··· 1 /* 2 * IPIC external definitions and structure. 3 * 4 * Maintainer: Kumar Gala <galak@kernel.crashing.org> ··· 79 extern u32 ipic_get_mcp_status(void); 80 extern void ipic_clear_mcp_status(u32 mask); 81 82 extern struct ipic * ipic_init(struct device_node *node, unsigned int flags); 83 extern unsigned int ipic_get_irq(void); 84 85 #endif /* __ASM_IPIC_H__ */ 86 #endif /* __KERNEL__ */
-288
include/asm-powerpc/irq.h arch/powerpc/include/asm/irq.h
··· 25 26 extern atomic_t ppc_n_lost_interrupts; 27 28 - #ifdef CONFIG_PPC_MERGE 29 - 30 /* This number is used when no interrupt has been assigned */ 31 #define NO_IRQ (0) 32 ··· 323 { 324 return irq; 325 } 326 - 327 - 328 - #else /* CONFIG_PPC_MERGE */ 329 - 330 - /* This number is used when no interrupt has been assigned */ 331 - #define NO_IRQ (-1) 332 - #define NO_IRQ_IGNORE (-2) 333 - 334 - 335 - /* 336 - * These constants are used for passing information about interrupt 337 - * signal polarity and level/edge sensing to the low-level PIC chip 338 - * drivers. 339 - */ 340 - #define IRQ_SENSE_MASK 0x1 341 - #define IRQ_SENSE_LEVEL 0x1 /* interrupt on active level */ 342 - #define IRQ_SENSE_EDGE 0x0 /* interrupt triggered by edge */ 343 - 344 - #define IRQ_POLARITY_MASK 0x2 345 - #define IRQ_POLARITY_POSITIVE 0x2 /* high level or low->high edge */ 346 - #define IRQ_POLARITY_NEGATIVE 0x0 /* low level or high->low edge */ 347 - 348 - 349 - #if defined(CONFIG_40x) 350 - #include <asm/ibm4xx.h> 351 - 352 - #ifndef NR_BOARD_IRQS 353 - #define NR_BOARD_IRQS 0 354 - #endif 355 - 356 - #ifndef UIC_WIDTH /* Number of interrupts per device */ 357 - #define UIC_WIDTH 32 358 - #endif 359 - 360 - #ifndef NR_UICS /* number of UIC devices */ 361 - #define NR_UICS 1 362 - #endif 363 - 364 - #if defined (CONFIG_403) 365 - /* 366 - * The PowerPC 403 cores' Asynchronous Interrupt Controller (AIC) has 367 - * 32 possible interrupts, a majority of which are not implemented on 368 - * all cores. There are six configurable, external interrupt pins and 369 - * there are eight internal interrupts for the on-chip serial port 370 - * (SPU), DMA controller, and JTAG controller. 371 - * 372 - */ 373 - 374 - #define NR_AIC_IRQS 32 375 - #define NR_IRQS (NR_AIC_IRQS + NR_BOARD_IRQS) 376 - 377 - #elif !defined (CONFIG_403) 378 - 379 - /* 380 - * The PowerPC 405 cores' Universal Interrupt Controller (UIC) has 32 381 - * possible interrupts as well. There are seven, configurable external 382 - * interrupt pins and there are 17 internal interrupts for the on-chip 383 - * serial port, DMA controller, on-chip Ethernet controller, PCI, etc. 384 - * 385 - */ 386 - 387 - 388 - #define NR_UIC_IRQS UIC_WIDTH 389 - #define NR_IRQS ((NR_UIC_IRQS * NR_UICS) + NR_BOARD_IRQS) 390 - #endif 391 - 392 - #elif defined(CONFIG_44x) 393 - #include <asm/ibm44x.h> 394 - 395 - #define NR_UIC_IRQS 32 396 - #define NR_IRQS ((NR_UIC_IRQS * NR_UICS) + NR_BOARD_IRQS) 397 - 398 - #elif defined(CONFIG_8xx) 399 - 400 - /* Now include the board configuration specific associations. 401 - */ 402 - #include <asm/mpc8xx.h> 403 - 404 - /* The MPC8xx cores have 16 possible interrupts. There are eight 405 - * possible level sensitive interrupts assigned and generated internally 406 - * from such devices as CPM, PCMCIA, RTC, PIT, TimeBase and Decrementer. 407 - * There are eight external interrupts (IRQs) that can be configured 408 - * as either level or edge sensitive. 409 - * 410 - * On some implementations, there is also the possibility of an 8259 411 - * through the PCI and PCI-ISA bridges. 412 - * 413 - * We are "flattening" the interrupt vectors of the cascaded CPM 414 - * and 8259 interrupt controllers so that we can uniquely identify 415 - * any interrupt source with a single integer. 416 - */ 417 - #define NR_SIU_INTS 16 418 - #define NR_CPM_INTS 32 419 - #ifndef NR_8259_INTS 420 - #define NR_8259_INTS 0 421 - #endif 422 - 423 - #define SIU_IRQ_OFFSET 0 424 - #define CPM_IRQ_OFFSET (SIU_IRQ_OFFSET + NR_SIU_INTS) 425 - #define I8259_IRQ_OFFSET (CPM_IRQ_OFFSET + NR_CPM_INTS) 426 - 427 - #define NR_IRQS (NR_SIU_INTS + NR_CPM_INTS + NR_8259_INTS) 428 - 429 - /* These values must be zero-based and map 1:1 with the SIU configuration. 430 - * They are used throughout the 8xx I/O subsystem to generate 431 - * interrupt masks, flags, and other control patterns. This is why the 432 - * current kernel assumption of the 8259 as the base controller is such 433 - * a pain in the butt. 434 - */ 435 - #define SIU_IRQ0 (0) /* Highest priority */ 436 - #define SIU_LEVEL0 (1) 437 - #define SIU_IRQ1 (2) 438 - #define SIU_LEVEL1 (3) 439 - #define SIU_IRQ2 (4) 440 - #define SIU_LEVEL2 (5) 441 - #define SIU_IRQ3 (6) 442 - #define SIU_LEVEL3 (7) 443 - #define SIU_IRQ4 (8) 444 - #define SIU_LEVEL4 (9) 445 - #define SIU_IRQ5 (10) 446 - #define SIU_LEVEL5 (11) 447 - #define SIU_IRQ6 (12) 448 - #define SIU_LEVEL6 (13) 449 - #define SIU_IRQ7 (14) 450 - #define SIU_LEVEL7 (15) 451 - 452 - #define MPC8xx_INT_FEC1 SIU_LEVEL1 453 - #define MPC8xx_INT_FEC2 SIU_LEVEL3 454 - 455 - #define MPC8xx_INT_SCC1 (CPM_IRQ_OFFSET + CPMVEC_SCC1) 456 - #define MPC8xx_INT_SCC2 (CPM_IRQ_OFFSET + CPMVEC_SCC2) 457 - #define MPC8xx_INT_SCC3 (CPM_IRQ_OFFSET + CPMVEC_SCC3) 458 - #define MPC8xx_INT_SCC4 (CPM_IRQ_OFFSET + CPMVEC_SCC4) 459 - #define MPC8xx_INT_SMC1 (CPM_IRQ_OFFSET + CPMVEC_SMC1) 460 - #define MPC8xx_INT_SMC2 (CPM_IRQ_OFFSET + CPMVEC_SMC2) 461 - 462 - /* The internal interrupts we can configure as we see fit. 463 - * My personal preference is CPM at level 2, which puts it above the 464 - * MBX PCI/ISA/IDE interrupts. 465 - */ 466 - #ifndef PIT_INTERRUPT 467 - #define PIT_INTERRUPT SIU_LEVEL0 468 - #endif 469 - #ifndef CPM_INTERRUPT 470 - #define CPM_INTERRUPT SIU_LEVEL2 471 - #endif 472 - #ifndef PCMCIA_INTERRUPT 473 - #define PCMCIA_INTERRUPT SIU_LEVEL6 474 - #endif 475 - #ifndef DEC_INTERRUPT 476 - #define DEC_INTERRUPT SIU_LEVEL7 477 - #endif 478 - 479 - /* Some internal interrupt registers use an 8-bit mask for the interrupt 480 - * level instead of a number. 481 - */ 482 - #define mk_int_int_mask(IL) (1 << (7 - (IL/2))) 483 - 484 - #else /* CONFIG_40x + CONFIG_8xx */ 485 - /* 486 - * this is the # irq's for all ppc arch's (pmac/chrp/prep) 487 - * so it is the max of them all 488 - */ 489 - #define NR_IRQS 256 490 - #define __DO_IRQ_CANON 1 491 - 492 - #ifndef CONFIG_8260 493 - 494 - #define NUM_8259_INTERRUPTS 16 495 - 496 - #else /* CONFIG_8260 */ 497 - 498 - /* The 8260 has an internal interrupt controller with a maximum of 499 - * 64 IRQs. We will use NR_IRQs from above since it is large enough. 500 - * Don't be confused by the 8260 documentation where they list an 501 - * "interrupt number" and "interrupt vector". We are only interested 502 - * in the interrupt vector. There are "reserved" holes where the 503 - * vector number increases, but the interrupt number in the table does not. 504 - * (Document errata updates have fixed this...make sure you have up to 505 - * date processor documentation -- Dan). 506 - */ 507 - 508 - #ifndef CPM_IRQ_OFFSET 509 - #define CPM_IRQ_OFFSET 0 510 - #endif 511 - 512 - #define NR_CPM_INTS 64 513 - 514 - #define SIU_INT_ERROR ((uint)0x00 + CPM_IRQ_OFFSET) 515 - #define SIU_INT_I2C ((uint)0x01 + CPM_IRQ_OFFSET) 516 - #define SIU_INT_SPI ((uint)0x02 + CPM_IRQ_OFFSET) 517 - #define SIU_INT_RISC ((uint)0x03 + CPM_IRQ_OFFSET) 518 - #define SIU_INT_SMC1 ((uint)0x04 + CPM_IRQ_OFFSET) 519 - #define SIU_INT_SMC2 ((uint)0x05 + CPM_IRQ_OFFSET) 520 - #define SIU_INT_IDMA1 ((uint)0x06 + CPM_IRQ_OFFSET) 521 - #define SIU_INT_IDMA2 ((uint)0x07 + CPM_IRQ_OFFSET) 522 - #define SIU_INT_IDMA3 ((uint)0x08 + CPM_IRQ_OFFSET) 523 - #define SIU_INT_IDMA4 ((uint)0x09 + CPM_IRQ_OFFSET) 524 - #define SIU_INT_SDMA ((uint)0x0a + CPM_IRQ_OFFSET) 525 - #define SIU_INT_USB ((uint)0x0b + CPM_IRQ_OFFSET) 526 - #define SIU_INT_TIMER1 ((uint)0x0c + CPM_IRQ_OFFSET) 527 - #define SIU_INT_TIMER2 ((uint)0x0d + CPM_IRQ_OFFSET) 528 - #define SIU_INT_TIMER3 ((uint)0x0e + CPM_IRQ_OFFSET) 529 - #define SIU_INT_TIMER4 ((uint)0x0f + CPM_IRQ_OFFSET) 530 - #define SIU_INT_TMCNT ((uint)0x10 + CPM_IRQ_OFFSET) 531 - #define SIU_INT_PIT ((uint)0x11 + CPM_IRQ_OFFSET) 532 - #define SIU_INT_PCI ((uint)0x12 + CPM_IRQ_OFFSET) 533 - #define SIU_INT_IRQ1 ((uint)0x13 + CPM_IRQ_OFFSET) 534 - #define SIU_INT_IRQ2 ((uint)0x14 + CPM_IRQ_OFFSET) 535 - #define SIU_INT_IRQ3 ((uint)0x15 + CPM_IRQ_OFFSET) 536 - #define SIU_INT_IRQ4 ((uint)0x16 + CPM_IRQ_OFFSET) 537 - #define SIU_INT_IRQ5 ((uint)0x17 + CPM_IRQ_OFFSET) 538 - #define SIU_INT_IRQ6 ((uint)0x18 + CPM_IRQ_OFFSET) 539 - #define SIU_INT_IRQ7 ((uint)0x19 + CPM_IRQ_OFFSET) 540 - #define SIU_INT_FCC1 ((uint)0x20 + CPM_IRQ_OFFSET) 541 - #define SIU_INT_FCC2 ((uint)0x21 + CPM_IRQ_OFFSET) 542 - #define SIU_INT_FCC3 ((uint)0x22 + CPM_IRQ_OFFSET) 543 - #define SIU_INT_MCC1 ((uint)0x24 + CPM_IRQ_OFFSET) 544 - #define SIU_INT_MCC2 ((uint)0x25 + CPM_IRQ_OFFSET) 545 - #define SIU_INT_SCC1 ((uint)0x28 + CPM_IRQ_OFFSET) 546 - #define SIU_INT_SCC2 ((uint)0x29 + CPM_IRQ_OFFSET) 547 - #define SIU_INT_SCC3 ((uint)0x2a + CPM_IRQ_OFFSET) 548 - #define SIU_INT_SCC4 ((uint)0x2b + CPM_IRQ_OFFSET) 549 - #define SIU_INT_PC15 ((uint)0x30 + CPM_IRQ_OFFSET) 550 - #define SIU_INT_PC14 ((uint)0x31 + CPM_IRQ_OFFSET) 551 - #define SIU_INT_PC13 ((uint)0x32 + CPM_IRQ_OFFSET) 552 - #define SIU_INT_PC12 ((uint)0x33 + CPM_IRQ_OFFSET) 553 - #define SIU_INT_PC11 ((uint)0x34 + CPM_IRQ_OFFSET) 554 - #define SIU_INT_PC10 ((uint)0x35 + CPM_IRQ_OFFSET) 555 - #define SIU_INT_PC9 ((uint)0x36 + CPM_IRQ_OFFSET) 556 - #define SIU_INT_PC8 ((uint)0x37 + CPM_IRQ_OFFSET) 557 - #define SIU_INT_PC7 ((uint)0x38 + CPM_IRQ_OFFSET) 558 - #define SIU_INT_PC6 ((uint)0x39 + CPM_IRQ_OFFSET) 559 - #define SIU_INT_PC5 ((uint)0x3a + CPM_IRQ_OFFSET) 560 - #define SIU_INT_PC4 ((uint)0x3b + CPM_IRQ_OFFSET) 561 - #define SIU_INT_PC3 ((uint)0x3c + CPM_IRQ_OFFSET) 562 - #define SIU_INT_PC2 ((uint)0x3d + CPM_IRQ_OFFSET) 563 - #define SIU_INT_PC1 ((uint)0x3e + CPM_IRQ_OFFSET) 564 - #define SIU_INT_PC0 ((uint)0x3f + CPM_IRQ_OFFSET) 565 - 566 - #endif /* CONFIG_8260 */ 567 - 568 - #endif /* Whatever way too big #ifdef */ 569 - 570 - #define NR_MASK_WORDS ((NR_IRQS + 31) / 32) 571 - /* pedantic: these are long because they are used with set_bit --RR */ 572 - extern unsigned long ppc_cached_irq_mask[NR_MASK_WORDS]; 573 - 574 - /* 575 - * Because many systems have two overlapping names spaces for 576 - * interrupts (ISA and XICS for example), and the ISA interrupts 577 - * have historically not been easy to renumber, we allow ISA 578 - * interrupts to take values 0 - 15, and shift up the remaining 579 - * interrupts by 0x10. 580 - */ 581 - #define NUM_ISA_INTERRUPTS 0x10 582 - extern int __irq_offset_value; 583 - 584 - static inline int irq_offset_up(int irq) 585 - { 586 - return(irq + __irq_offset_value); 587 - } 588 - 589 - static inline int irq_offset_down(int irq) 590 - { 591 - return(irq - __irq_offset_value); 592 - } 593 - 594 - static inline int irq_offset_value(void) 595 - { 596 - return __irq_offset_value; 597 - } 598 - 599 - #ifdef __DO_IRQ_CANON 600 - extern int ppc_do_canonicalize_irqs; 601 - #else 602 - #define ppc_do_canonicalize_irqs 0 603 - #endif 604 - 605 - static __inline__ int irq_canonicalize(int irq) 606 - { 607 - if (ppc_do_canonicalize_irqs && irq == 2) 608 - irq = 9; 609 - return irq; 610 - } 611 - #endif /* CONFIG_PPC_MERGE */ 612 613 extern int distribute_irqs; 614
··· 25 26 extern atomic_t ppc_n_lost_interrupts; 27 28 /* This number is used when no interrupt has been assigned */ 29 #define NO_IRQ (0) 30 ··· 325 { 326 return irq; 327 } 328 329 extern int distribute_irqs; 330
include/asm-powerpc/irq_regs.h arch/powerpc/include/asm/irq_regs.h
+1 -3
include/asm-powerpc/irqflags.h arch/powerpc/include/asm/irqflags.h
··· 1 /* 2 - * include/asm-powerpc/irqflags.h 3 - * 4 * IRQ flags handling 5 */ 6 #ifndef _ASM_IRQFLAGS_H ··· 8 /* 9 * Get definitions for raw_local_save_flags(x), etc. 10 */ 11 - #include <asm-powerpc/hw_irq.h> 12 13 #else 14 #ifdef CONFIG_TRACE_IRQFLAGS
··· 1 /* 2 * IRQ flags handling 3 */ 4 #ifndef _ASM_IRQFLAGS_H ··· 10 /* 11 * Get definitions for raw_local_save_flags(x), etc. 12 */ 13 + #include <asm/hw_irq.h> 14 15 #else 16 #ifdef CONFIG_TRACE_IRQFLAGS
include/asm-powerpc/iseries/alpaca.h arch/powerpc/include/asm/iseries/alpaca.h
include/asm-powerpc/iseries/hv_call.h arch/powerpc/include/asm/iseries/hv_call.h
include/asm-powerpc/iseries/hv_call_event.h arch/powerpc/include/asm/iseries/hv_call_event.h
include/asm-powerpc/iseries/hv_call_sc.h arch/powerpc/include/asm/iseries/hv_call_sc.h
include/asm-powerpc/iseries/hv_call_xm.h arch/powerpc/include/asm/iseries/hv_call_xm.h
include/asm-powerpc/iseries/hv_lp_config.h arch/powerpc/include/asm/iseries/hv_lp_config.h
include/asm-powerpc/iseries/hv_lp_event.h arch/powerpc/include/asm/iseries/hv_lp_event.h
include/asm-powerpc/iseries/hv_types.h arch/powerpc/include/asm/iseries/hv_types.h
include/asm-powerpc/iseries/iommu.h arch/powerpc/include/asm/iseries/iommu.h
include/asm-powerpc/iseries/it_lp_queue.h arch/powerpc/include/asm/iseries/it_lp_queue.h
include/asm-powerpc/iseries/lpar_map.h arch/powerpc/include/asm/iseries/lpar_map.h
include/asm-powerpc/iseries/mf.h arch/powerpc/include/asm/iseries/mf.h
include/asm-powerpc/iseries/vio.h arch/powerpc/include/asm/iseries/vio.h
include/asm-powerpc/kdebug.h arch/powerpc/include/asm/kdebug.h
include/asm-powerpc/kdump.h arch/powerpc/include/asm/kdump.h
include/asm-powerpc/kexec.h arch/powerpc/include/asm/kexec.h
include/asm-powerpc/keylargo.h arch/powerpc/include/asm/keylargo.h
-2
include/asm-powerpc/kgdb.h arch/powerpc/include/asm/kgdb.h
··· 1 /* 2 - * include/asm-powerpc/kgdb.h 3 - * 4 * The PowerPC (32/64) specific defines / externs for KGDB. Based on 5 * the previous 32bit and 64bit specific files, which had the following 6 * copyrights:
··· 1 /* 2 * The PowerPC (32/64) specific defines / externs for KGDB. Based on 3 * the previous 32bit and 64bit specific files, which had the following 4 * copyrights:
include/asm-powerpc/kmap_types.h arch/powerpc/include/asm/kmap_types.h
include/asm-powerpc/kprobes.h arch/powerpc/include/asm/kprobes.h
include/asm-powerpc/kvm.h arch/powerpc/include/asm/kvm.h
include/asm-powerpc/kvm_asm.h arch/powerpc/include/asm/kvm_asm.h
include/asm-powerpc/kvm_host.h arch/powerpc/include/asm/kvm_host.h
include/asm-powerpc/kvm_para.h arch/powerpc/include/asm/kvm_para.h
include/asm-powerpc/kvm_ppc.h arch/powerpc/include/asm/kvm_ppc.h
include/asm-powerpc/libata-portmap.h arch/powerpc/include/asm/libata-portmap.h
include/asm-powerpc/linkage.h arch/powerpc/include/asm/linkage.h
include/asm-powerpc/lmb.h arch/powerpc/include/asm/lmb.h
include/asm-powerpc/local.h arch/powerpc/include/asm/local.h
include/asm-powerpc/lppaca.h arch/powerpc/include/asm/lppaca.h
include/asm-powerpc/lv1call.h arch/powerpc/include/asm/lv1call.h
include/asm-powerpc/machdep.h arch/powerpc/include/asm/machdep.h
include/asm-powerpc/macio.h arch/powerpc/include/asm/macio.h
include/asm-powerpc/mc146818rtc.h arch/powerpc/include/asm/mc146818rtc.h
include/asm-powerpc/mediabay.h arch/powerpc/include/asm/mediabay.h
include/asm-powerpc/mman.h arch/powerpc/include/asm/mman.h
include/asm-powerpc/mmu-40x.h arch/powerpc/include/asm/mmu-40x.h
include/asm-powerpc/mmu-44x.h arch/powerpc/include/asm/mmu-44x.h
include/asm-powerpc/mmu-8xx.h arch/powerpc/include/asm/mmu-8xx.h
include/asm-powerpc/mmu-fsl-booke.h arch/powerpc/include/asm/mmu-fsl-booke.h
include/asm-powerpc/mmu-hash32.h arch/powerpc/include/asm/mmu-hash32.h
include/asm-powerpc/mmu-hash64.h arch/powerpc/include/asm/mmu-hash64.h
include/asm-powerpc/mmu.h arch/powerpc/include/asm/mmu.h
include/asm-powerpc/mmu_context.h arch/powerpc/include/asm/mmu_context.h
include/asm-powerpc/mmzone.h arch/powerpc/include/asm/mmzone.h
include/asm-powerpc/module.h arch/powerpc/include/asm/module.h
include/asm-powerpc/mpc512x.h arch/powerpc/include/asm/mpc512x.h
include/asm-powerpc/mpc52xx.h arch/powerpc/include/asm/mpc52xx.h
include/asm-powerpc/mpc52xx_psc.h arch/powerpc/include/asm/mpc52xx_psc.h
include/asm-powerpc/mpc6xx.h arch/powerpc/include/asm/mpc6xx.h
include/asm-powerpc/mpc8260.h arch/powerpc/include/asm/mpc8260.h
include/asm-powerpc/mpc86xx.h arch/powerpc/include/asm/mpc86xx.h
include/asm-powerpc/mpc8xx.h arch/powerpc/include/asm/mpc8xx.h
include/asm-powerpc/mpic.h arch/powerpc/include/asm/mpic.h
include/asm-powerpc/msgbuf.h arch/powerpc/include/asm/msgbuf.h
include/asm-powerpc/mutex.h arch/powerpc/include/asm/mutex.h
include/asm-powerpc/nvram.h arch/powerpc/include/asm/nvram.h
include/asm-powerpc/of_device.h arch/powerpc/include/asm/of_device.h
include/asm-powerpc/of_platform.h arch/powerpc/include/asm/of_platform.h
include/asm-powerpc/ohare.h arch/powerpc/include/asm/ohare.h
include/asm-powerpc/oprofile_impl.h arch/powerpc/include/asm/oprofile_impl.h
include/asm-powerpc/pSeries_reconfig.h arch/powerpc/include/asm/pSeries_reconfig.h
-2
include/asm-powerpc/paca.h arch/powerpc/include/asm/paca.h
··· 1 /* 2 - * include/asm-powerpc/paca.h 3 - * 4 * This control block defines the PACA which defines the processor 5 * specific data for each logical processor on the system. 6 * There are some pointers defined that are utilized by PLIC.
··· 1 /* 2 * This control block defines the PACA which defines the processor 3 * specific data for each logical processor on the system. 4 * There are some pointers defined that are utilized by PLIC.
include/asm-powerpc/page.h arch/powerpc/include/asm/page.h
include/asm-powerpc/page_32.h arch/powerpc/include/asm/page_32.h
include/asm-powerpc/page_64.h arch/powerpc/include/asm/page_64.h
include/asm-powerpc/param.h arch/powerpc/include/asm/param.h
include/asm-powerpc/parport.h arch/powerpc/include/asm/parport.h
include/asm-powerpc/pasemi_dma.h arch/powerpc/include/asm/pasemi_dma.h
include/asm-powerpc/pci-bridge.h arch/powerpc/include/asm/pci-bridge.h
include/asm-powerpc/pci.h arch/powerpc/include/asm/pci.h
include/asm-powerpc/percpu.h arch/powerpc/include/asm/percpu.h
include/asm-powerpc/pgalloc-32.h arch/powerpc/include/asm/pgalloc-32.h
include/asm-powerpc/pgalloc-64.h arch/powerpc/include/asm/pgalloc-64.h
include/asm-powerpc/pgalloc.h arch/powerpc/include/asm/pgalloc.h
include/asm-powerpc/pgtable-4k.h arch/powerpc/include/asm/pgtable-4k.h
include/asm-powerpc/pgtable-64k.h arch/powerpc/include/asm/pgtable-64k.h
include/asm-powerpc/pgtable-ppc32.h arch/powerpc/include/asm/pgtable-ppc32.h
+1 -1
include/asm-powerpc/pgtable-ppc64.h arch/powerpc/include/asm/pgtable-ppc64.h
··· 100 101 #define _PAGE_WRENABLE (_PAGE_RW | _PAGE_DIRTY) 102 103 - /* __pgprot defined in asm-powerpc/page.h */ 104 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED) 105 106 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_RW | _PAGE_USER)
··· 100 101 #define _PAGE_WRENABLE (_PAGE_RW | _PAGE_DIRTY) 102 103 + /* __pgprot defined in arch/powerpc/incliude/asm/page.h */ 104 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED) 105 106 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_RW | _PAGE_USER)
include/asm-powerpc/pgtable.h arch/powerpc/include/asm/pgtable.h
include/asm-powerpc/phyp_dump.h arch/powerpc/include/asm/phyp_dump.h
include/asm-powerpc/pmac_feature.h arch/powerpc/include/asm/pmac_feature.h
include/asm-powerpc/pmac_low_i2c.h arch/powerpc/include/asm/pmac_low_i2c.h
include/asm-powerpc/pmac_pfunc.h arch/powerpc/include/asm/pmac_pfunc.h
include/asm-powerpc/pmc.h arch/powerpc/include/asm/pmc.h
include/asm-powerpc/pmi.h arch/powerpc/include/asm/pmi.h
include/asm-powerpc/poll.h arch/powerpc/include/asm/poll.h
include/asm-powerpc/posix_types.h arch/powerpc/include/asm/posix_types.h
include/asm-powerpc/ppc-pci.h arch/powerpc/include/asm/ppc-pci.h
include/asm-powerpc/ppc4xx.h arch/powerpc/include/asm/ppc4xx.h
include/asm-powerpc/ppc_asm.h arch/powerpc/include/asm/ppc_asm.h
include/asm-powerpc/processor.h arch/powerpc/include/asm/processor.h
include/asm-powerpc/prom.h arch/powerpc/include/asm/prom.h
include/asm-powerpc/ps3.h arch/powerpc/include/asm/ps3.h
include/asm-powerpc/ps3av.h arch/powerpc/include/asm/ps3av.h
include/asm-powerpc/ps3fb.h arch/powerpc/include/asm/ps3fb.h
include/asm-powerpc/ps3stor.h arch/powerpc/include/asm/ps3stor.h
include/asm-powerpc/ptrace.h arch/powerpc/include/asm/ptrace.h
include/asm-powerpc/qe.h arch/powerpc/include/asm/qe.h
-2
include/asm-powerpc/qe_ic.h arch/powerpc/include/asm/qe_ic.h
··· 1 /* 2 - * include/asm-powerpc/qe_ic.h 3 - * 4 * Copyright (C) 2006 Freescale Semicondutor, Inc. All rights reserved. 5 * 6 * Authors: Shlomi Gridish <gridish@freescale.com>
··· 1 /* 2 * Copyright (C) 2006 Freescale Semicondutor, Inc. All rights reserved. 3 * 4 * Authors: Shlomi Gridish <gridish@freescale.com>
include/asm-powerpc/reg.h arch/powerpc/include/asm/reg.h
include/asm-powerpc/reg_8xx.h arch/powerpc/include/asm/reg_8xx.h
include/asm-powerpc/reg_booke.h arch/powerpc/include/asm/reg_booke.h
include/asm-powerpc/reg_fsl_emb.h arch/powerpc/include/asm/reg_fsl_emb.h
include/asm-powerpc/resource.h arch/powerpc/include/asm/resource.h
include/asm-powerpc/rheap.h arch/powerpc/include/asm/rheap.h
include/asm-powerpc/rio.h arch/powerpc/include/asm/rio.h
include/asm-powerpc/rtas.h arch/powerpc/include/asm/rtas.h
include/asm-powerpc/rtc.h arch/powerpc/include/asm/rtc.h
+2 -2
include/asm-powerpc/rwsem.h arch/powerpc/include/asm/rwsem.h
··· 8 #ifdef __KERNEL__ 9 10 /* 11 - * include/asm-powerpc/rwsem.h: R/W semaphores for PPC using the stuff 12 - * in lib/rwsem.c. Adapted largely from include/asm-i386/rwsem.h 13 * by Paul Mackerras <paulus@samba.org>. 14 */ 15
··· 8 #ifdef __KERNEL__ 9 10 /* 11 + * R/W semaphores for PPC using the stuff in lib/rwsem.c. 12 + * Adapted largely from include/asm-i386/rwsem.h 13 * by Paul Mackerras <paulus@samba.org>. 14 */ 15
include/asm-powerpc/scatterlist.h arch/powerpc/include/asm/scatterlist.h
include/asm-powerpc/seccomp.h arch/powerpc/include/asm/seccomp.h
include/asm-powerpc/sections.h arch/powerpc/include/asm/sections.h
include/asm-powerpc/sembuf.h arch/powerpc/include/asm/sembuf.h
include/asm-powerpc/serial.h arch/powerpc/include/asm/serial.h
include/asm-powerpc/setjmp.h arch/powerpc/include/asm/setjmp.h
include/asm-powerpc/setup.h arch/powerpc/include/asm/setup.h
include/asm-powerpc/shmbuf.h arch/powerpc/include/asm/shmbuf.h
include/asm-powerpc/shmparam.h arch/powerpc/include/asm/shmparam.h
include/asm-powerpc/sigcontext.h arch/powerpc/include/asm/sigcontext.h
include/asm-powerpc/siginfo.h arch/powerpc/include/asm/siginfo.h
include/asm-powerpc/signal.h arch/powerpc/include/asm/signal.h
include/asm-powerpc/smp.h arch/powerpc/include/asm/smp.h
include/asm-powerpc/smu.h arch/powerpc/include/asm/smu.h
include/asm-powerpc/socket.h arch/powerpc/include/asm/socket.h
include/asm-powerpc/sockios.h arch/powerpc/include/asm/sockios.h
include/asm-powerpc/sparsemem.h arch/powerpc/include/asm/sparsemem.h
include/asm-powerpc/spinlock.h arch/powerpc/include/asm/spinlock.h
include/asm-powerpc/spinlock_types.h arch/powerpc/include/asm/spinlock_types.h
include/asm-powerpc/spu.h arch/powerpc/include/asm/spu.h
include/asm-powerpc/spu_csa.h arch/powerpc/include/asm/spu_csa.h
include/asm-powerpc/spu_info.h arch/powerpc/include/asm/spu_info.h
include/asm-powerpc/spu_priv1.h arch/powerpc/include/asm/spu_priv1.h
include/asm-powerpc/sstep.h arch/powerpc/include/asm/sstep.h
include/asm-powerpc/stat.h arch/powerpc/include/asm/stat.h
include/asm-powerpc/statfs.h arch/powerpc/include/asm/statfs.h
include/asm-powerpc/string.h arch/powerpc/include/asm/string.h
include/asm-powerpc/suspend.h arch/powerpc/include/asm/suspend.h
include/asm-powerpc/synch.h arch/powerpc/include/asm/synch.h
include/asm-powerpc/syscall.h arch/powerpc/include/asm/syscall.h
include/asm-powerpc/syscalls.h arch/powerpc/include/asm/syscalls.h
include/asm-powerpc/systbl.h arch/powerpc/include/asm/systbl.h
include/asm-powerpc/system.h arch/powerpc/include/asm/system.h
include/asm-powerpc/tce.h arch/powerpc/include/asm/tce.h
include/asm-powerpc/termbits.h arch/powerpc/include/asm/termbits.h
include/asm-powerpc/termios.h arch/powerpc/include/asm/termios.h
include/asm-powerpc/thread_info.h arch/powerpc/include/asm/thread_info.h
include/asm-powerpc/time.h arch/powerpc/include/asm/time.h
include/asm-powerpc/timex.h arch/powerpc/include/asm/timex.h
include/asm-powerpc/tlb.h arch/powerpc/include/asm/tlb.h
include/asm-powerpc/tlbflush.h arch/powerpc/include/asm/tlbflush.h
include/asm-powerpc/topology.h arch/powerpc/include/asm/topology.h
include/asm-powerpc/tsi108.h arch/powerpc/include/asm/tsi108.h
include/asm-powerpc/tsi108_irq.h arch/powerpc/include/asm/tsi108_irq.h
include/asm-powerpc/tsi108_pci.h arch/powerpc/include/asm/tsi108_pci.h
include/asm-powerpc/types.h arch/powerpc/include/asm/types.h
include/asm-powerpc/uaccess.h arch/powerpc/include/asm/uaccess.h
include/asm-powerpc/ucc.h arch/powerpc/include/asm/ucc.h
-2
include/asm-powerpc/ucc_fast.h arch/powerpc/include/asm/ucc_fast.h
··· 1 /* 2 - * include/asm-powerpc/ucc_fast.h 3 - * 4 * Internal header file for UCC FAST unit routines. 5 * 6 * Copyright (C) 2006 Freescale Semicondutor, Inc. All rights reserved.
··· 1 /* 2 * Internal header file for UCC FAST unit routines. 3 * 4 * Copyright (C) 2006 Freescale Semicondutor, Inc. All rights reserved.
include/asm-powerpc/ucc_slow.h arch/powerpc/include/asm/ucc_slow.h
include/asm-powerpc/ucontext.h arch/powerpc/include/asm/ucontext.h
include/asm-powerpc/udbg.h arch/powerpc/include/asm/udbg.h
-2
include/asm-powerpc/uic.h arch/powerpc/include/asm/uic.h
··· 1 /* 2 - * include/asm-powerpc/uic.h 3 - * 4 * IBM PPC4xx UIC external definitions and structure. 5 * 6 * Maintainer: David Gibson <dwg@au1.ibm.com>
··· 1 /* 2 * IBM PPC4xx UIC external definitions and structure. 3 * 4 * Maintainer: David Gibson <dwg@au1.ibm.com>
include/asm-powerpc/unaligned.h arch/powerpc/include/asm/unaligned.h
include/asm-powerpc/uninorth.h arch/powerpc/include/asm/uninorth.h
include/asm-powerpc/unistd.h arch/powerpc/include/asm/unistd.h
include/asm-powerpc/user.h arch/powerpc/include/asm/user.h
include/asm-powerpc/vdso.h arch/powerpc/include/asm/vdso.h
include/asm-powerpc/vdso_datapage.h arch/powerpc/include/asm/vdso_datapage.h
include/asm-powerpc/vga.h arch/powerpc/include/asm/vga.h
include/asm-powerpc/vio.h arch/powerpc/include/asm/vio.h
include/asm-powerpc/xilinx_intc.h arch/powerpc/include/asm/xilinx_intc.h
include/asm-powerpc/xmon.h arch/powerpc/include/asm/xmon.h
include/asm-powerpc/xor.h arch/powerpc/include/asm/xor.h