aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-09-27 04:03:56 -0400
committerPaul Mundt <lethal@linux-sh.org>2006-09-27 04:03:56 -0400
commit0f08f338083cc1d68788ccbccc44bd0502fc57ae (patch)
tree97c69dbbd63a108a7367644dadedd390a3948f0c /arch/sh/kernel
parent9e3043c091819729ecf4fc5063d0a2d0954dfd7f (diff)
sh: More cosmetic cleanups and trivial fixes.
Nothing exciting here, just trivial fixes.. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r--arch/sh/kernel/setup.c2
-rw-r--r--arch/sh/kernel/sh_ksyms.c15
2 files changed, 1 insertions, 16 deletions
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c
index cff8d36f91b..4afdec07170 100644
--- a/arch/sh/kernel/setup.c
+++ b/arch/sh/kernel/setup.c
@@ -507,7 +507,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
507 * unified cache on the SH-2 and SH-3, as well as the harvard 507 * unified cache on the SH-2 and SH-3, as well as the harvard
508 * style cache on the SH-4. 508 * style cache on the SH-4.
509 */ 509 */
510 if (test_bit(SH_CACHE_COMBINED, &(boot_cpu_data.icache.flags))) { 510 if (boot_cpu_data.icache.flags & SH_CACHE_COMBINED) {
511 seq_printf(m, "unified\n"); 511 seq_printf(m, "unified\n");
512 show_cacheinfo(m, "cache", boot_cpu_data.icache); 512 show_cacheinfo(m, "cache", boot_cpu_data.icache);
513 } else { 513 } else {
diff --git a/arch/sh/kernel/sh_ksyms.c b/arch/sh/kernel/sh_ksyms.c
index fd73ab0326e..7f3a42244ca 100644
--- a/arch/sh/kernel/sh_ksyms.c
+++ b/arch/sh/kernel/sh_ksyms.c
@@ -27,20 +27,11 @@ EXPORT_SYMBOL(sh_mv);
27 27
28/* platform dependent support */ 28/* platform dependent support */
29EXPORT_SYMBOL(dump_fpu); 29EXPORT_SYMBOL(dump_fpu);
30EXPORT_SYMBOL(enable_irq);
31EXPORT_SYMBOL(disable_irq);
32EXPORT_SYMBOL(probe_irq_mask);
33EXPORT_SYMBOL(kernel_thread); 30EXPORT_SYMBOL(kernel_thread);
34EXPORT_SYMBOL(disable_irq_nosync);
35EXPORT_SYMBOL(irq_desc); 31EXPORT_SYMBOL(irq_desc);
36EXPORT_SYMBOL(no_irq_type); 32EXPORT_SYMBOL(no_irq_type);
37 33
38EXPORT_SYMBOL(strstr);
39EXPORT_SYMBOL(strlen); 34EXPORT_SYMBOL(strlen);
40EXPORT_SYMBOL(strnlen);
41EXPORT_SYMBOL(strchr);
42EXPORT_SYMBOL(strcat);
43EXPORT_SYMBOL(strncat);
44 35
45/* PCI exports */ 36/* PCI exports */
46#ifdef CONFIG_PCI 37#ifdef CONFIG_PCI
@@ -51,13 +42,8 @@ EXPORT_SYMBOL(pci_free_consistent);
51/* mem exports */ 42/* mem exports */
52EXPORT_SYMBOL(memchr); 43EXPORT_SYMBOL(memchr);
53EXPORT_SYMBOL(memcpy); 44EXPORT_SYMBOL(memcpy);
54EXPORT_SYMBOL(memcpy_fromio);
55EXPORT_SYMBOL(memcpy_toio);
56EXPORT_SYMBOL(memset); 45EXPORT_SYMBOL(memset);
57EXPORT_SYMBOL(memset_io);
58EXPORT_SYMBOL(memmove); 46EXPORT_SYMBOL(memmove);
59EXPORT_SYMBOL(memcmp);
60EXPORT_SYMBOL(memscan);
61EXPORT_SYMBOL(__copy_user); 47EXPORT_SYMBOL(__copy_user);
62EXPORT_SYMBOL(boot_cpu_data); 48EXPORT_SYMBOL(boot_cpu_data);
63 49
@@ -124,5 +110,4 @@ EXPORT_SYMBOL(csum_partial);
124#ifdef CONFIG_IPV6 110#ifdef CONFIG_IPV6
125EXPORT_SYMBOL(csum_ipv6_magic); 111EXPORT_SYMBOL(csum_ipv6_magic);
126#endif 112#endif
127EXPORT_SYMBOL(consistent_sync);
128EXPORT_SYMBOL(clear_page); 113EXPORT_SYMBOL(clear_page);