Merge branch 'for_paulus' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc

* 'for_paulus' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc:
[POWERPC] Fix Kconfig warning
[PPC] Fix modpost warning
[POWERPC] Fix modpost warning
[POWERPC] Fix Section mismatch warnings
[POWERPC] QE: fix Kconfig 'select' warning with UCC_FAST
[POWERPC] 52xx: unbreak lite5200 dts (_pic vs. -pic)
[PPC] Remove duplicate export of __div64_32.
[PPC] Fix COMMON symbol warnings

+39 -20
+1
arch/powerpc/Kconfig
··· 118 depends on BUG 119 120 config SYS_SUPPORTS_APM_EMULATION 121 bool 122 123 config DEFAULT_UIMAGE
··· 118 depends on BUG 119 120 config SYS_SUPPORTS_APM_EMULATION 121 + default y if PMAC_APM_EMU 122 bool 123 124 config DEFAULT_UIMAGE
+1 -1
arch/powerpc/boot/dts/lite5200.dts
··· 67 interrupt-controller; 68 #interrupt-cells = <3>; 69 device_type = "interrupt-controller"; 70 - compatible = "mpc5200_pic"; 71 reg = <500 80>; 72 built-in; 73 };
··· 67 interrupt-controller; 68 #interrupt-cells = <3>; 69 device_type = "interrupt-controller"; 70 + compatible = "mpc5200-pic"; 71 reg = <500 80>; 72 built-in; 73 };
+1 -1
arch/powerpc/boot/dts/lite5200b.dts
··· 67 interrupt-controller; 68 #interrupt-cells = <3>; 69 device_type = "interrupt-controller"; 70 - compatible = "mpc5200b-pic\0mpc5200_pic"; 71 reg = <500 80>; 72 built-in; 73 };
··· 67 interrupt-controller; 68 #interrupt-cells = <3>; 69 device_type = "interrupt-controller"; 70 + compatible = "mpc5200b-pic\0mpc5200-pic"; 71 reg = <500 80>; 72 built-in; 73 };
+1 -1
arch/powerpc/mm/pgtable_32.c
··· 93 free_pages((unsigned long)pgd, PGDIR_ORDER); 94 } 95 96 - pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) 97 { 98 pte_t *pte; 99 extern int mem_init_done;
··· 93 free_pages((unsigned long)pgd, PGDIR_ORDER); 94 } 95 96 + __init_refok pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) 97 { 98 pte_t *pte; 99 extern int mem_init_done;
+1 -1
arch/powerpc/platforms/chrp/pegasos_eth.c
··· 169 170 /***********/ 171 /***********/ 172 - int mv643xx_eth_add_pds(void) 173 { 174 int ret = 0; 175 static struct pci_device_id pci_marvell_mv64360[] = {
··· 169 170 /***********/ 171 /***********/ 172 + static int __init mv643xx_eth_add_pds(void) 173 { 174 int ret = 0; 175 static struct pci_device_id pci_marvell_mv64360[] = {
+1 -1
arch/powerpc/platforms/powermac/setup.c
··· 384 static dev_t boot_dev; 385 386 #ifdef CONFIG_SCSI 387 - void __init note_scsi_host(struct device_node *node, void *host) 388 { 389 int l; 390 char *p;
··· 384 static dev_t boot_dev; 385 386 #ifdef CONFIG_SCSI 387 + void note_scsi_host(struct device_node *node, void *host) 388 { 389 int l; 390 char *p;
+1 -3
arch/powerpc/sysdev/qe_lib/Kconfig
··· 5 config UCC_SLOW 6 bool 7 default n 8 - select UCC 9 help 10 This option provides qe_lib support to UCC slow 11 protocols: UART, BISYNC, QMC 12 13 config UCC_FAST 14 bool 15 - default n 16 - select UCC 17 help 18 This option provides qe_lib support to UCC fast 19 protocols: HDLC, Ethernet, ATM, transparent
··· 5 config UCC_SLOW 6 bool 7 default n 8 help 9 This option provides qe_lib support to UCC slow 10 protocols: UART, BISYNC, QMC 11 12 config UCC_FAST 13 bool 14 + default y if UCC_GETH 15 help 16 This option provides qe_lib support to UCC fast 17 protocols: HDLC, Ethernet, ATM, transparent
+15 -3
arch/ppc/kernel/entry.S
··· 596 mr r12,r4 /* restart at exc_exit_restart */ 597 b 2b 598 599 - .comm fee_restarts,4 600 601 /* aargh, a nonrecoverable interrupt, panic */ 602 /* aargh, we don't know which trap this is */ ··· 855 mtspr SPRN_DBSR,r11 /* clear all pending debug events */ 856 blr 857 858 - .comm global_dbcr0,8 859 #endif /* !(CONFIG_4xx || CONFIG_BOOKE) */ 860 861 do_work: /* r10 contains MSR_KERNEL here */ ··· 934 /* shouldn't return */ 935 b 4b 936 937 - .comm ee_restarts,4
··· 596 mr r12,r4 /* restart at exc_exit_restart */ 597 b 2b 598 599 + .section .bss 600 + .align 2 601 + fee_restarts: 602 + .space 4 603 + .previous 604 605 /* aargh, a nonrecoverable interrupt, panic */ 606 /* aargh, we don't know which trap this is */ ··· 851 mtspr SPRN_DBSR,r11 /* clear all pending debug events */ 852 blr 853 854 + .section .bss 855 + .align 4 856 + global_dbcr0: 857 + .space 8 858 + .previous 859 #endif /* !(CONFIG_4xx || CONFIG_BOOKE) */ 860 861 do_work: /* r10 contains MSR_KERNEL here */ ··· 926 /* shouldn't return */ 927 b 4b 928 929 + .section .bss 930 + .align 2 931 + ee_restarts: 932 + .space 4 933 + .previous
-2
arch/ppc/kernel/ppc_ksyms.c
··· 40 #include <asm/time.h> 41 #include <asm/cputable.h> 42 #include <asm/btext.h> 43 - #include <asm/div64.h> 44 #include <asm/xmon.h> 45 #include <asm/signal.h> 46 #include <asm/dcr.h> ··· 92 EXPORT_SYMBOL(strcat); 93 EXPORT_SYMBOL(strlen); 94 EXPORT_SYMBOL(strcmp); 95 - EXPORT_SYMBOL(__div64_32); 96 97 EXPORT_SYMBOL(csum_partial); 98 EXPORT_SYMBOL(csum_partial_copy_generic);
··· 40 #include <asm/time.h> 41 #include <asm/cputable.h> 42 #include <asm/btext.h> 43 #include <asm/xmon.h> 44 #include <asm/signal.h> 45 #include <asm/dcr.h> ··· 93 EXPORT_SYMBOL(strcat); 94 EXPORT_SYMBOL(strlen); 95 EXPORT_SYMBOL(strcmp); 96 97 EXPORT_SYMBOL(csum_partial); 98 EXPORT_SYMBOL(csum_partial_copy_generic);
+16 -4
arch/ppc/mm/hashtable.S
··· 30 #include <asm/asm-offsets.h> 31 32 #ifdef CONFIG_SMP 33 - .comm mmu_hash_lock,4 34 #endif /* CONFIG_SMP */ 35 36 /* ··· 465 sync /* make sure pte updates get to memory */ 466 blr 467 468 - .comm next_slot,4 469 - .comm primary_pteg_full,4 470 - .comm htab_hash_searches,4 471 472 /* 473 * Flush the entry for a particular page from the hash table.
··· 30 #include <asm/asm-offsets.h> 31 32 #ifdef CONFIG_SMP 33 + .section .bss 34 + .align 2 35 + .globl mmu_hash_lock 36 + mmu_hash_lock: 37 + .space 4 38 #endif /* CONFIG_SMP */ 39 40 /* ··· 461 sync /* make sure pte updates get to memory */ 462 blr 463 464 + .section .bss 465 + .align 2 466 + next_slot: 467 + .space 4 468 + .globl primary_pteg_full 469 + primary_pteg_full: 470 + .space 4 471 + .globl htab_hash_searches 472 + htab_hash_searches: 473 + .space 4 474 + .previous 475 476 /* 477 * Flush the entry for a particular page from the hash table.
+1 -1
arch/ppc/mm/pgtable.c
··· 92 free_pages((unsigned long)pgd, PGDIR_ORDER); 93 } 94 95 - pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) 96 { 97 pte_t *pte; 98 extern int mem_init_done;
··· 92 free_pages((unsigned long)pgd, PGDIR_ORDER); 93 } 94 95 + __init_refok pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) 96 { 97 pte_t *pte; 98 extern int mem_init_done;
-1
drivers/macintosh/Kconfig
··· 113 114 config PMAC_APM_EMU 115 tristate "APM emulation" 116 - select SYS_SUPPORTS_APM_EMULATION 117 select APM_EMULATION 118 depends on ADB_PMU && PM 119
··· 113 114 config PMAC_APM_EMU 115 tristate "APM emulation" 116 select APM_EMULATION 117 depends on ADB_PMU && PM 118
-1
drivers/net/Kconfig
··· 2280 config UCC_GETH 2281 tristate "Freescale QE Gigabit Ethernet" 2282 depends on QUICC_ENGINE 2283 - select UCC_FAST 2284 help 2285 This driver supports the Gigabit Ethernet mode of the QUICC Engine, 2286 which is available on some Freescale SOCs.
··· 2280 config UCC_GETH 2281 tristate "Freescale QE Gigabit Ethernet" 2282 depends on QUICC_ENGINE 2283 help 2284 This driver supports the Gigabit Ethernet mode of the QUICC Engine, 2285 which is available on some Freescale SOCs.