diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-29 16:42:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-29 16:42:28 -0400 |
commit | 55663219378eecd6fccb319be27ce6737a535e4c (patch) | |
tree | ff20fe50fa2e86ba09677a8b2cc7462ea11347a6 | |
parent | a43266355b3d8cf6717a27159f9a417bdff73782 (diff) | |
parent | 58da10bb3fe680a197e83d5eccb5265a721c98e2 (diff) |
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
-rw-r--r-- | arch/powerpc/Kconfig | 1 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/lite5200.dts | 2 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/lite5200b.dts | 2 | ||||
-rw-r--r-- | arch/powerpc/mm/pgtable_32.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/chrp/pegasos_eth.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/powermac/setup.c | 2 | ||||
-rw-r--r-- | arch/powerpc/sysdev/qe_lib/Kconfig | 4 | ||||
-rw-r--r-- | arch/ppc/kernel/entry.S | 18 | ||||
-rw-r--r-- | arch/ppc/kernel/ppc_ksyms.c | 2 | ||||
-rw-r--r-- | arch/ppc/mm/hashtable.S | 20 | ||||
-rw-r--r-- | arch/ppc/mm/pgtable.c | 2 | ||||
-rw-r--r-- | drivers/macintosh/Kconfig | 1 | ||||
-rw-r--r-- | drivers/net/Kconfig | 1 |
13 files changed, 39 insertions, 20 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 56d3c0dcd2b8..5eaeafd30bdf 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -118,6 +118,7 @@ config GENERIC_BUG | |||
118 | depends on BUG | 118 | depends on BUG |
119 | 119 | ||
120 | config SYS_SUPPORTS_APM_EMULATION | 120 | config SYS_SUPPORTS_APM_EMULATION |
121 | default y if PMAC_APM_EMU | ||
121 | bool | 122 | bool |
122 | 123 | ||
123 | config DEFAULT_UIMAGE | 124 | config DEFAULT_UIMAGE |
diff --git a/arch/powerpc/boot/dts/lite5200.dts b/arch/powerpc/boot/dts/lite5200.dts index eae68ab1177f..d29308fe4c24 100644 --- a/arch/powerpc/boot/dts/lite5200.dts +++ b/arch/powerpc/boot/dts/lite5200.dts | |||
@@ -67,7 +67,7 @@ | |||
67 | interrupt-controller; | 67 | interrupt-controller; |
68 | #interrupt-cells = <3>; | 68 | #interrupt-cells = <3>; |
69 | device_type = "interrupt-controller"; | 69 | device_type = "interrupt-controller"; |
70 | compatible = "mpc5200_pic"; | 70 | compatible = "mpc5200-pic"; |
71 | reg = <500 80>; | 71 | reg = <500 80>; |
72 | built-in; | 72 | built-in; |
73 | }; | 73 | }; |
diff --git a/arch/powerpc/boot/dts/lite5200b.dts b/arch/powerpc/boot/dts/lite5200b.dts index 5185625a9419..f242531f0451 100644 --- a/arch/powerpc/boot/dts/lite5200b.dts +++ b/arch/powerpc/boot/dts/lite5200b.dts | |||
@@ -67,7 +67,7 @@ | |||
67 | interrupt-controller; | 67 | interrupt-controller; |
68 | #interrupt-cells = <3>; | 68 | #interrupt-cells = <3>; |
69 | device_type = "interrupt-controller"; | 69 | device_type = "interrupt-controller"; |
70 | compatible = "mpc5200b-pic\0mpc5200_pic"; | 70 | compatible = "mpc5200b-pic\0mpc5200-pic"; |
71 | reg = <500 80>; | 71 | reg = <500 80>; |
72 | built-in; | 72 | built-in; |
73 | }; | 73 | }; |
diff --git a/arch/powerpc/mm/pgtable_32.c b/arch/powerpc/mm/pgtable_32.c index d8232b7a08f7..f6ae1a57d652 100644 --- a/arch/powerpc/mm/pgtable_32.c +++ b/arch/powerpc/mm/pgtable_32.c | |||
@@ -93,7 +93,7 @@ void pgd_free(pgd_t *pgd) | |||
93 | free_pages((unsigned long)pgd, PGDIR_ORDER); | 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 | pte_t *pte; | 98 | pte_t *pte; |
99 | extern int mem_init_done; | 99 | extern int mem_init_done; |
diff --git a/arch/powerpc/platforms/chrp/pegasos_eth.c b/arch/powerpc/platforms/chrp/pegasos_eth.c index 71045677559a..5bcc58d9a4dd 100644 --- a/arch/powerpc/platforms/chrp/pegasos_eth.c +++ b/arch/powerpc/platforms/chrp/pegasos_eth.c | |||
@@ -169,7 +169,7 @@ static int Enable_SRAM(void) | |||
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 | int ret = 0; | 174 | int ret = 0; |
175 | static struct pci_device_id pci_marvell_mv64360[] = { | 175 | static struct pci_device_id pci_marvell_mv64360[] = { |
diff --git a/arch/powerpc/platforms/powermac/setup.c b/arch/powerpc/platforms/powermac/setup.c index a410bc76a8a8..07b1c4ec428d 100644 --- a/arch/powerpc/platforms/powermac/setup.c +++ b/arch/powerpc/platforms/powermac/setup.c | |||
@@ -384,7 +384,7 @@ int boot_part; | |||
384 | static dev_t boot_dev; | 384 | static dev_t boot_dev; |
385 | 385 | ||
386 | #ifdef CONFIG_SCSI | 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 | int l; | 389 | int l; |
390 | char *p; | 390 | char *p; |
diff --git a/arch/powerpc/sysdev/qe_lib/Kconfig b/arch/powerpc/sysdev/qe_lib/Kconfig index 887739f3badc..f611d344a126 100644 --- a/arch/powerpc/sysdev/qe_lib/Kconfig +++ b/arch/powerpc/sysdev/qe_lib/Kconfig | |||
@@ -5,15 +5,13 @@ | |||
5 | config UCC_SLOW | 5 | config UCC_SLOW |
6 | bool | 6 | bool |
7 | default n | 7 | default n |
8 | select UCC | ||
9 | help | 8 | help |
10 | This option provides qe_lib support to UCC slow | 9 | This option provides qe_lib support to UCC slow |
11 | protocols: UART, BISYNC, QMC | 10 | protocols: UART, BISYNC, QMC |
12 | 11 | ||
13 | config UCC_FAST | 12 | config UCC_FAST |
14 | bool | 13 | bool |
15 | default n | 14 | default y if UCC_GETH |
16 | select UCC | ||
17 | help | 15 | help |
18 | This option provides qe_lib support to UCC fast | 16 | This option provides qe_lib support to UCC fast |
19 | protocols: HDLC, Ethernet, ATM, transparent | 17 | protocols: HDLC, Ethernet, ATM, transparent |
diff --git a/arch/ppc/kernel/entry.S b/arch/ppc/kernel/entry.S index ab64256110bd..fba7ca17a67e 100644 --- a/arch/ppc/kernel/entry.S +++ b/arch/ppc/kernel/entry.S | |||
@@ -596,7 +596,11 @@ fast_exception_return: | |||
596 | mr r12,r4 /* restart at exc_exit_restart */ | 596 | mr r12,r4 /* restart at exc_exit_restart */ |
597 | b 2b | 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 | /* aargh, a nonrecoverable interrupt, panic */ | 605 | /* aargh, a nonrecoverable interrupt, panic */ |
602 | /* aargh, we don't know which trap this is */ | 606 | /* aargh, we don't know which trap this is */ |
@@ -851,7 +855,11 @@ load_dbcr0: | |||
851 | mtspr SPRN_DBSR,r11 /* clear all pending debug events */ | 855 | mtspr SPRN_DBSR,r11 /* clear all pending debug events */ |
852 | blr | 856 | blr |
853 | 857 | ||
854 | .comm global_dbcr0,8 | 858 | .section .bss |
859 | .align 4 | ||
860 | global_dbcr0: | ||
861 | .space 8 | ||
862 | .previous | ||
855 | #endif /* !(CONFIG_4xx || CONFIG_BOOKE) */ | 863 | #endif /* !(CONFIG_4xx || CONFIG_BOOKE) */ |
856 | 864 | ||
857 | do_work: /* r10 contains MSR_KERNEL here */ | 865 | do_work: /* r10 contains MSR_KERNEL here */ |
@@ -926,4 +934,8 @@ END_FTR_SECTION_IFSET(CPU_FTR_601) | |||
926 | /* shouldn't return */ | 934 | /* shouldn't return */ |
927 | b 4b | 935 | b 4b |
928 | 936 | ||
929 | .comm ee_restarts,4 | 937 | .section .bss |
938 | .align 2 | ||
939 | ee_restarts: | ||
940 | .space 4 | ||
941 | .previous | ||
diff --git a/arch/ppc/kernel/ppc_ksyms.c b/arch/ppc/kernel/ppc_ksyms.c index 4ad499605d05..a4165209ac7c 100644 --- a/arch/ppc/kernel/ppc_ksyms.c +++ b/arch/ppc/kernel/ppc_ksyms.c | |||
@@ -40,7 +40,6 @@ | |||
40 | #include <asm/time.h> | 40 | #include <asm/time.h> |
41 | #include <asm/cputable.h> | 41 | #include <asm/cputable.h> |
42 | #include <asm/btext.h> | 42 | #include <asm/btext.h> |
43 | #include <asm/div64.h> | ||
44 | #include <asm/xmon.h> | 43 | #include <asm/xmon.h> |
45 | #include <asm/signal.h> | 44 | #include <asm/signal.h> |
46 | #include <asm/dcr.h> | 45 | #include <asm/dcr.h> |
@@ -93,7 +92,6 @@ EXPORT_SYMBOL(strncpy); | |||
93 | EXPORT_SYMBOL(strcat); | 92 | EXPORT_SYMBOL(strcat); |
94 | EXPORT_SYMBOL(strlen); | 93 | EXPORT_SYMBOL(strlen); |
95 | EXPORT_SYMBOL(strcmp); | 94 | EXPORT_SYMBOL(strcmp); |
96 | EXPORT_SYMBOL(__div64_32); | ||
97 | 95 | ||
98 | EXPORT_SYMBOL(csum_partial); | 96 | EXPORT_SYMBOL(csum_partial); |
99 | EXPORT_SYMBOL(csum_partial_copy_generic); | 97 | EXPORT_SYMBOL(csum_partial_copy_generic); |
diff --git a/arch/ppc/mm/hashtable.S b/arch/ppc/mm/hashtable.S index e756942e65c4..5f364dc50154 100644 --- a/arch/ppc/mm/hashtable.S +++ b/arch/ppc/mm/hashtable.S | |||
@@ -30,7 +30,11 @@ | |||
30 | #include <asm/asm-offsets.h> | 30 | #include <asm/asm-offsets.h> |
31 | 31 | ||
32 | #ifdef CONFIG_SMP | 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 | #endif /* CONFIG_SMP */ | 38 | #endif /* CONFIG_SMP */ |
35 | 39 | ||
36 | /* | 40 | /* |
@@ -461,9 +465,17 @@ found_slot: | |||
461 | sync /* make sure pte updates get to memory */ | 465 | sync /* make sure pte updates get to memory */ |
462 | blr | 466 | blr |
463 | 467 | ||
464 | .comm next_slot,4 | 468 | .section .bss |
465 | .comm primary_pteg_full,4 | 469 | .align 2 |
466 | .comm htab_hash_searches,4 | 470 | next_slot: |
471 | .space 4 | ||
472 | .globl primary_pteg_full | ||
473 | primary_pteg_full: | ||
474 | .space 4 | ||
475 | .globl htab_hash_searches | ||
476 | htab_hash_searches: | ||
477 | .space 4 | ||
478 | .previous | ||
467 | 479 | ||
468 | /* | 480 | /* |
469 | * Flush the entry for a particular page from the hash table. | 481 | * Flush the entry for a particular page from the hash table. |
diff --git a/arch/ppc/mm/pgtable.c b/arch/ppc/mm/pgtable.c index c023b7298809..35ebb6395ae3 100644 --- a/arch/ppc/mm/pgtable.c +++ b/arch/ppc/mm/pgtable.c | |||
@@ -92,7 +92,7 @@ void pgd_free(pgd_t *pgd) | |||
92 | free_pages((unsigned long)pgd, PGDIR_ORDER); | 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 | pte_t *pte; | 97 | pte_t *pte; |
98 | extern int mem_init_done; | 98 | extern int mem_init_done; |
diff --git a/drivers/macintosh/Kconfig b/drivers/macintosh/Kconfig index 58926da0ae18..f44c94abd883 100644 --- a/drivers/macintosh/Kconfig +++ b/drivers/macintosh/Kconfig | |||
@@ -113,7 +113,6 @@ config PMAC_SMU | |||
113 | 113 | ||
114 | config PMAC_APM_EMU | 114 | config PMAC_APM_EMU |
115 | tristate "APM emulation" | 115 | tristate "APM emulation" |
116 | select SYS_SUPPORTS_APM_EMULATION | ||
117 | select APM_EMULATION | 116 | select APM_EMULATION |
118 | depends on ADB_PMU && PM | 117 | depends on ADB_PMU && PM |
119 | 118 | ||
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 30fd479fea5e..1798a9f9fb25 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -2280,7 +2280,6 @@ config GFAR_NAPI | |||
2280 | config UCC_GETH | 2280 | config UCC_GETH |
2281 | tristate "Freescale QE Gigabit Ethernet" | 2281 | tristate "Freescale QE Gigabit Ethernet" |
2282 | depends on QUICC_ENGINE | 2282 | depends on QUICC_ENGINE |
2283 | select UCC_FAST | ||
2284 | help | 2283 | help |
2285 | This driver supports the Gigabit Ethernet mode of the QUICC Engine, | 2284 | This driver supports the Gigabit Ethernet mode of the QUICC Engine, |
2286 | which is available on some Freescale SOCs. | 2285 | which is available on some Freescale SOCs. |