Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
Paul Mundt | a23ba43 | 2007-11-28 20:19:38 +0900 | [diff] [blame] | 2 | * arch/sh/kernel/sh_ksyms_64.c |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | * |
| 4 | * Copyright (C) 2000, 2001 Paolo Alberelli |
| 5 | * |
Paul Mundt | a23ba43 | 2007-11-28 20:19:38 +0900 | [diff] [blame] | 6 | * 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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | #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 Smirl | 894673e | 2006-07-10 04:44:13 -0700 | [diff] [blame] | 18 | #include <linux/screen_info.h> |
Paul Mundt | 971ac16 | 2008-04-25 16:01:38 +0900 | [diff] [blame^] | 19 | #include <asm/cacheflush.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | #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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 27 | extern int dump_fpu(struct pt_regs *, elf_fpregset_t *); |
| 28 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | /* platform dependent support */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | EXPORT_SYMBOL(dump_fpu); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | EXPORT_SYMBOL(kernel_thread); |
| 32 | |
Paul Mundt | 971ac16 | 2008-04-25 16:01:38 +0900 | [diff] [blame^] | 33 | #if !defined(CONFIG_CACHE_OFF) && defined(CONFIG_MMU) |
| 34 | EXPORT_SYMBOL(clear_user_page); |
| 35 | #endif |
| 36 | |
| 37 | #ifndef CONFIG_CACHE_OFF |
| 38 | EXPORT_SYMBOL(flush_dcache_page); |
| 39 | #endif |
| 40 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 41 | /* Networking helper routines. */ |
Paul Mundt | 971ac16 | 2008-04-25 16:01:38 +0900 | [diff] [blame^] | 42 | EXPORT_SYMBOL(csum_partial); |
Al Viro | c459dd9 | 2006-11-14 21:19:01 -0800 | [diff] [blame] | 43 | EXPORT_SYMBOL(csum_partial_copy_nocheck); |
Paul Mundt | 971ac16 | 2008-04-25 16:01:38 +0900 | [diff] [blame^] | 44 | #ifdef CONFIG_IPV6 |
| 45 | EXPORT_SYMBOL(csum_ipv6_magic); |
| 46 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 47 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 48 | #ifdef CONFIG_VT |
| 49 | EXPORT_SYMBOL(screen_info); |
| 50 | #endif |
| 51 | |
Paul Mundt | 971ac16 | 2008-04-25 16:01:38 +0900 | [diff] [blame^] | 52 | EXPORT_SYMBOL(__put_user_asm_b); |
| 53 | EXPORT_SYMBOL(__put_user_asm_w); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 54 | EXPORT_SYMBOL(__put_user_asm_l); |
Paul Mundt | 971ac16 | 2008-04-25 16:01:38 +0900 | [diff] [blame^] | 55 | EXPORT_SYMBOL(__put_user_asm_q); |
| 56 | EXPORT_SYMBOL(__get_user_asm_b); |
| 57 | EXPORT_SYMBOL(__get_user_asm_w); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 58 | EXPORT_SYMBOL(__get_user_asm_l); |
Paul Mundt | 971ac16 | 2008-04-25 16:01:38 +0900 | [diff] [blame^] | 59 | EXPORT_SYMBOL(__get_user_asm_q); |
| 60 | EXPORT_SYMBOL(__strnlen_user); |
| 61 | EXPORT_SYMBOL(__strncpy_from_user); |
| 62 | EXPORT_SYMBOL(clear_page); |
| 63 | EXPORT_SYMBOL(__clear_user); |
Andrew Morton | ad0caae | 2008-03-04 15:23:47 -0800 | [diff] [blame] | 64 | EXPORT_SYMBOL(copy_page); |
Paul Mundt | 7b523c9 | 2007-10-09 15:55:40 +0900 | [diff] [blame] | 65 | EXPORT_SYMBOL(__copy_user); |
Andrew Morton | fd785d6 | 2008-04-16 02:21:47 +0900 | [diff] [blame] | 66 | EXPORT_SYMBOL(empty_zero_page); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 67 | EXPORT_SYMBOL(memcpy); |
Paul Mundt | 749c849 | 2007-10-01 17:36:47 +0900 | [diff] [blame] | 68 | EXPORT_SYMBOL(__udelay); |
Paul Mundt | 749c849 | 2007-10-01 17:36:47 +0900 | [diff] [blame] | 69 | EXPORT_SYMBOL(__ndelay); |
Paul Mundt | 971ac16 | 2008-04-25 16:01:38 +0900 | [diff] [blame^] | 70 | EXPORT_SYMBOL(__const_udelay); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 71 | |
| 72 | /* Ugh. These come in from libgcc.a at link time. */ |
Paul Mundt | 749c849 | 2007-10-01 17:36:47 +0900 | [diff] [blame] | 73 | #define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 74 | |
Paul Mundt | 749c849 | 2007-10-01 17:36:47 +0900 | [diff] [blame] | 75 | DECLARE_EXPORT(__sdivsi3); |
Paul Mundt | 971ac16 | 2008-04-25 16:01:38 +0900 | [diff] [blame^] | 76 | DECLARE_EXPORT(__sdivsi3_2); |
Paul Mundt | 749c849 | 2007-10-01 17:36:47 +0900 | [diff] [blame] | 77 | DECLARE_EXPORT(__muldi3); |
| 78 | DECLARE_EXPORT(__udivsi3); |
Paul Mundt | 971ac16 | 2008-04-25 16:01:38 +0900 | [diff] [blame^] | 79 | DECLARE_EXPORT(__div_table); |