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