Kuninori Morimoto | 5933f6d | 2018-12-28 00:32:24 -0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | /* |
Paul Mundt | a23ba43 | 2007-11-28 20:19:38 +0900 | [diff] [blame] | 3 | * arch/sh/kernel/sh_ksyms_64.c |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | * |
| 5 | * Copyright (C) 2000, 2001 Paolo Alberelli |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | #include <linux/rwsem.h> |
| 8 | #include <linux/module.h> |
| 9 | #include <linux/smp.h> |
| 10 | #include <linux/user.h> |
| 11 | #include <linux/elfcore.h> |
| 12 | #include <linux/sched.h> |
| 13 | #include <linux/in6.h> |
| 14 | #include <linux/interrupt.h> |
Jon Smirl | 894673e | 2006-07-10 04:44:13 -0700 | [diff] [blame] | 15 | #include <linux/screen_info.h> |
Paul Mundt | 971ac16 | 2008-04-25 16:01:38 +0900 | [diff] [blame] | 16 | #include <asm/cacheflush.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | #include <asm/processor.h> |
Linus Torvalds | 7c0f6ba | 2016-12-24 11:46:01 -0800 | [diff] [blame] | 18 | #include <linux/uaccess.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | #include <asm/checksum.h> |
| 20 | #include <asm/io.h> |
| 21 | #include <asm/delay.h> |
| 22 | #include <asm/irq.h> |
| 23 | |
Paul Mundt | 971ac16 | 2008-04-25 16:01:38 +0900 | [diff] [blame] | 24 | EXPORT_SYMBOL(__put_user_asm_b); |
| 25 | EXPORT_SYMBOL(__put_user_asm_w); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | EXPORT_SYMBOL(__put_user_asm_l); |
Paul Mundt | 971ac16 | 2008-04-25 16:01:38 +0900 | [diff] [blame] | 27 | EXPORT_SYMBOL(__put_user_asm_q); |
| 28 | EXPORT_SYMBOL(__get_user_asm_b); |
| 29 | EXPORT_SYMBOL(__get_user_asm_w); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | EXPORT_SYMBOL(__get_user_asm_l); |
Paul Mundt | 971ac16 | 2008-04-25 16:01:38 +0900 | [diff] [blame] | 31 | EXPORT_SYMBOL(__get_user_asm_q); |
Paul Mundt | 971ac16 | 2008-04-25 16:01:38 +0900 | [diff] [blame] | 32 | EXPORT_SYMBOL(__clear_user); |
Andrew Morton | ad0caae | 2008-03-04 15:23:47 -0800 | [diff] [blame] | 33 | EXPORT_SYMBOL(copy_page); |
Paul Mundt | 7b523c9 | 2007-10-09 15:55:40 +0900 | [diff] [blame] | 34 | EXPORT_SYMBOL(__copy_user); |
Andrew Morton | fd785d6 | 2008-04-16 02:21:47 +0900 | [diff] [blame] | 35 | EXPORT_SYMBOL(empty_zero_page); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 36 | EXPORT_SYMBOL(memcpy); |
Paul Mundt | 4466b20 | 2008-12-12 16:34:44 +0900 | [diff] [blame] | 37 | EXPORT_SYMBOL(memset); |
Paul Mundt | 749c849 | 2007-10-01 17:36:47 +0900 | [diff] [blame] | 38 | EXPORT_SYMBOL(__udelay); |
Paul Mundt | 749c849 | 2007-10-01 17:36:47 +0900 | [diff] [blame] | 39 | EXPORT_SYMBOL(__ndelay); |
Paul Mundt | 971ac16 | 2008-04-25 16:01:38 +0900 | [diff] [blame] | 40 | EXPORT_SYMBOL(__const_udelay); |
Paul Mundt | 4466b20 | 2008-12-12 16:34:44 +0900 | [diff] [blame] | 41 | EXPORT_SYMBOL(strlen); |
| 42 | EXPORT_SYMBOL(strcpy); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 43 | |
| 44 | /* Ugh. These come in from libgcc.a at link time. */ |
Paul Mundt | 749c849 | 2007-10-01 17:36:47 +0900 | [diff] [blame] | 45 | #define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 46 | |
Paul Mundt | 749c849 | 2007-10-01 17:36:47 +0900 | [diff] [blame] | 47 | DECLARE_EXPORT(__sdivsi3); |
Paul Mundt | 1031a3a | 2009-05-09 17:57:21 +0900 | [diff] [blame] | 48 | DECLARE_EXPORT(__sdivsi3_1); |
| 49 | DECLARE_EXPORT(__sdivsi3_2); |
Paul Mundt | 749c849 | 2007-10-01 17:36:47 +0900 | [diff] [blame] | 50 | DECLARE_EXPORT(__udivsi3); |
Paul Mundt | 971ac16 | 2008-04-25 16:01:38 +0900 | [diff] [blame] | 51 | DECLARE_EXPORT(__div_table); |