diff options
author | Paul Mackerras <paulus@samba.org> | 2007-04-29 22:38:01 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-29 22:38:01 -0400 |
commit | 49e1900d4cc2e7bcecb681fe60f0990bec2dcce8 (patch) | |
tree | 253801ebf57e0a23856a2c7be129c2c178f62fdf /arch/powerpc | |
parent | 34f6d749c0a328817d5e36274e53121c1db734dc (diff) | |
parent | b9099ff63c75216d6ca10bce5a1abcd9293c27e6 (diff) |
Merge branch 'linux-2.6' into for-2.6.22
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/of_platform.c | 3 | ||||
-rw-r--r-- | arch/powerpc/kernel/ppc_ksyms.c | 2 | ||||
-rw-r--r-- | arch/powerpc/lib/Makefile | 5 | ||||
-rw-r--r-- | arch/powerpc/lib/strcase.c | 25 |
4 files changed, 2 insertions, 33 deletions
diff --git a/arch/powerpc/kernel/of_platform.c b/arch/powerpc/kernel/of_platform.c index d2fd9863318c..908ed7926db4 100644 --- a/arch/powerpc/kernel/of_platform.c +++ b/arch/powerpc/kernel/of_platform.c | |||
@@ -476,9 +476,6 @@ static struct of_platform_driver of_pci_phb_driver = { | |||
476 | .name = "of-pci", | 476 | .name = "of-pci", |
477 | .match_table = of_pci_phb_ids, | 477 | .match_table = of_pci_phb_ids, |
478 | .probe = of_pci_phb_probe, | 478 | .probe = of_pci_phb_probe, |
479 | .driver = { | ||
480 | .multithread_probe = 1, | ||
481 | }, | ||
482 | }; | 479 | }; |
483 | 480 | ||
484 | static __init int of_pci_phb_init(void) | 481 | static __init int of_pci_phb_init(void) |
diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c index 005d2b34b334..ff252aaead12 100644 --- a/arch/powerpc/kernel/ppc_ksyms.c +++ b/arch/powerpc/kernel/ppc_ksyms.c | |||
@@ -83,8 +83,6 @@ EXPORT_SYMBOL(strncpy); | |||
83 | EXPORT_SYMBOL(strcat); | 83 | EXPORT_SYMBOL(strcat); |
84 | EXPORT_SYMBOL(strlen); | 84 | EXPORT_SYMBOL(strlen); |
85 | EXPORT_SYMBOL(strcmp); | 85 | EXPORT_SYMBOL(strcmp); |
86 | EXPORT_SYMBOL(strcasecmp); | ||
87 | EXPORT_SYMBOL(strncasecmp); | ||
88 | 86 | ||
89 | EXPORT_SYMBOL(csum_partial); | 87 | EXPORT_SYMBOL(csum_partial); |
90 | EXPORT_SYMBOL(csum_partial_copy_generic); | 88 | EXPORT_SYMBOL(csum_partial_copy_generic); |
diff --git a/arch/powerpc/lib/Makefile b/arch/powerpc/lib/Makefile index 4b1ba49fbd9e..450258de7ca1 100644 --- a/arch/powerpc/lib/Makefile +++ b/arch/powerpc/lib/Makefile | |||
@@ -7,13 +7,12 @@ EXTRA_CFLAGS += -mno-minimal-toc | |||
7 | endif | 7 | endif |
8 | 8 | ||
9 | ifeq ($(CONFIG_PPC_MERGE),y) | 9 | ifeq ($(CONFIG_PPC_MERGE),y) |
10 | obj-y := string.o strcase.o | 10 | obj-y := string.o |
11 | obj-$(CONFIG_PPC32) += div64.o copy_32.o checksum_32.o | 11 | obj-$(CONFIG_PPC32) += div64.o copy_32.o checksum_32.o |
12 | endif | 12 | endif |
13 | 13 | ||
14 | obj-$(CONFIG_PPC64) += checksum_64.o copypage_64.o copyuser_64.o \ | 14 | obj-$(CONFIG_PPC64) += checksum_64.o copypage_64.o copyuser_64.o \ |
15 | memcpy_64.o usercopy_64.o mem_64.o string.o \ | 15 | memcpy_64.o usercopy_64.o mem_64.o string.o |
16 | strcase.o | ||
17 | obj-$(CONFIG_QUICC_ENGINE) += rheap.o | 16 | obj-$(CONFIG_QUICC_ENGINE) += rheap.o |
18 | obj-$(CONFIG_XMON) += sstep.o | 17 | obj-$(CONFIG_XMON) += sstep.o |
19 | obj-$(CONFIG_KPROBES) += sstep.o | 18 | obj-$(CONFIG_KPROBES) += sstep.o |
diff --git a/arch/powerpc/lib/strcase.c b/arch/powerpc/lib/strcase.c deleted file mode 100644 index f8ec1eba3fdd..000000000000 --- a/arch/powerpc/lib/strcase.c +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | #include <linux/types.h> | ||
2 | #include <linux/ctype.h> | ||
3 | #include <linux/string.h> | ||
4 | |||
5 | int strcasecmp(const char *s1, const char *s2) | ||
6 | { | ||
7 | int c1, c2; | ||
8 | |||
9 | do { | ||
10 | c1 = tolower(*s1++); | ||
11 | c2 = tolower(*s2++); | ||
12 | } while (c1 == c2 && c1 != 0); | ||
13 | return c1 - c2; | ||
14 | } | ||
15 | |||
16 | int strncasecmp(const char *s1, const char *s2, size_t n) | ||
17 | { | ||
18 | int c1, c2; | ||
19 | |||
20 | do { | ||
21 | c1 = tolower(*s1++); | ||
22 | c2 = tolower(*s2++); | ||
23 | } while ((--n > 0) && c1 == c2 && c1 != 0); | ||
24 | return c1 - c2; | ||
25 | } | ||