blob: ab7adaa95f77221fed5847f3fbd576876be33415 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
Paul Mundta23ba432007-11-28 20:19:38 +09002 * arch/sh/kernel/sh_ksyms_64.c
Linus Torvalds1da177e2005-04-16 15:20:36 -07003 *
4 * Copyright (C) 2000, 2001 Paolo Alberelli
5 *
Paul Mundta23ba432007-11-28 20:19:38 +09006 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file "COPYING" in the main directory of this archive
8 * for more details.
Linus Torvalds1da177e2005-04-16 15:20:36 -07009 */
Linus Torvalds1da177e2005-04-16 15:20:36 -070010#include <linux/rwsem.h>
11#include <linux/module.h>
12#include <linux/smp.h>
13#include <linux/user.h>
14#include <linux/elfcore.h>
15#include <linux/sched.h>
16#include <linux/in6.h>
17#include <linux/interrupt.h>
Jon Smirl894673e2006-07-10 04:44:13 -070018#include <linux/screen_info.h>
Paul Mundt971ac162008-04-25 16:01:38 +090019#include <asm/cacheflush.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070020#include <asm/processor.h>
21#include <asm/uaccess.h>
22#include <asm/checksum.h>
23#include <asm/io.h>
24#include <asm/delay.h>
25#include <asm/irq.h>
26
Linus Torvalds1da177e2005-04-16 15:20:36 -070027extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
28
Linus Torvalds1da177e2005-04-16 15:20:36 -070029/* platform dependent support */
Linus Torvalds1da177e2005-04-16 15:20:36 -070030EXPORT_SYMBOL(dump_fpu);
Linus Torvalds1da177e2005-04-16 15:20:36 -070031EXPORT_SYMBOL(kernel_thread);
32
Paul Mundt971ac162008-04-25 16:01:38 +090033#if !defined(CONFIG_CACHE_OFF) && defined(CONFIG_MMU)
34EXPORT_SYMBOL(clear_user_page);
35#endif
36
37#ifndef CONFIG_CACHE_OFF
38EXPORT_SYMBOL(flush_dcache_page);
39#endif
40
Linus Torvalds1da177e2005-04-16 15:20:36 -070041/* Networking helper routines. */
Paul Mundt971ac162008-04-25 16:01:38 +090042EXPORT_SYMBOL(csum_partial);
Al Viroc459dd92006-11-14 21:19:01 -080043EXPORT_SYMBOL(csum_partial_copy_nocheck);
Paul Mundt971ac162008-04-25 16:01:38 +090044#ifdef CONFIG_IPV6
45EXPORT_SYMBOL(csum_ipv6_magic);
46#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070047
Linus Torvalds1da177e2005-04-16 15:20:36 -070048#ifdef CONFIG_VT
49EXPORT_SYMBOL(screen_info);
50#endif
51
Paul Mundt971ac162008-04-25 16:01:38 +090052EXPORT_SYMBOL(__put_user_asm_b);
53EXPORT_SYMBOL(__put_user_asm_w);
Linus Torvalds1da177e2005-04-16 15:20:36 -070054EXPORT_SYMBOL(__put_user_asm_l);
Paul Mundt971ac162008-04-25 16:01:38 +090055EXPORT_SYMBOL(__put_user_asm_q);
56EXPORT_SYMBOL(__get_user_asm_b);
57EXPORT_SYMBOL(__get_user_asm_w);
Linus Torvalds1da177e2005-04-16 15:20:36 -070058EXPORT_SYMBOL(__get_user_asm_l);
Paul Mundt971ac162008-04-25 16:01:38 +090059EXPORT_SYMBOL(__get_user_asm_q);
60EXPORT_SYMBOL(__strnlen_user);
61EXPORT_SYMBOL(__strncpy_from_user);
62EXPORT_SYMBOL(clear_page);
63EXPORT_SYMBOL(__clear_user);
Andrew Mortonad0caae2008-03-04 15:23:47 -080064EXPORT_SYMBOL(copy_page);
Paul Mundt7b523c92007-10-09 15:55:40 +090065EXPORT_SYMBOL(__copy_user);
Andrew Mortonfd785d62008-04-16 02:21:47 +090066EXPORT_SYMBOL(empty_zero_page);
Linus Torvalds1da177e2005-04-16 15:20:36 -070067EXPORT_SYMBOL(memcpy);
Paul Mundt4466b202008-12-12 16:34:44 +090068EXPORT_SYMBOL(memset);
Paul Mundt749c8492007-10-01 17:36:47 +090069EXPORT_SYMBOL(__udelay);
Paul Mundt749c8492007-10-01 17:36:47 +090070EXPORT_SYMBOL(__ndelay);
Paul Mundt971ac162008-04-25 16:01:38 +090071EXPORT_SYMBOL(__const_udelay);
Paul Mundt4466b202008-12-12 16:34:44 +090072EXPORT_SYMBOL(strlen);
73EXPORT_SYMBOL(strcpy);
Linus Torvalds1da177e2005-04-16 15:20:36 -070074
75/* Ugh. These come in from libgcc.a at link time. */
Paul Mundt749c8492007-10-01 17:36:47 +090076#define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name)
Linus Torvalds1da177e2005-04-16 15:20:36 -070077
Paul Mundt749c8492007-10-01 17:36:47 +090078DECLARE_EXPORT(__sdivsi3);
Paul Mundt971ac162008-04-25 16:01:38 +090079DECLARE_EXPORT(__sdivsi3_2);
Paul Mundt749c8492007-10-01 17:36:47 +090080DECLARE_EXPORT(__muldi3);
81DECLARE_EXPORT(__udivsi3);
Paul Mundt971ac162008-04-25 16:01:38 +090082DECLARE_EXPORT(__div_table);