1 /*
2  * OpenRISC or32_ksyms.c
3  *
4  * Linux architectural port borrowing liberally from similar works of
5  * others.  All original copyrights apply as per the original source
6  * declaration.
7  *
8  * Modifications for the OpenRISC architecture:
9  * Copyright (C) 2003 Matjaz Breskvar <phoenix@bsemi.com>
10  * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se>
11  *
12  *      This program is free software; you can redistribute it and/or
13  *      modify it under the terms of the GNU General Public License
14  *      as published by the Free Software Foundation; either version
15  *      2 of the License, or (at your option) any later version.
16  */
17 
18 #include <linux/export.h>
19 #include <linux/elfcore.h>
20 #include <linux/sched.h>
21 #include <linux/in6.h>
22 #include <linux/interrupt.h>
23 #include <linux/vmalloc.h>
24 #include <linux/semaphore.h>
25 
26 #include <asm/processor.h>
27 #include <linux/uaccess.h>
28 #include <asm/checksum.h>
29 #include <asm/io.h>
30 #include <asm/hardirq.h>
31 #include <asm/delay.h>
32 #include <asm/pgalloc.h>
33 #include <asm/pgtable.h>
34 
35 #define DECLARE_EXPORT(name) extern void name(void); EXPORT_SYMBOL(name)
36 
37 /* compiler generated symbols */
38 DECLARE_EXPORT(__udivsi3);
39 DECLARE_EXPORT(__divsi3);
40 DECLARE_EXPORT(__umodsi3);
41 DECLARE_EXPORT(__modsi3);
42 DECLARE_EXPORT(__muldi3);
43 DECLARE_EXPORT(__ashrdi3);
44 DECLARE_EXPORT(__ashldi3);
45 DECLARE_EXPORT(__lshrdi3);
46 DECLARE_EXPORT(__ucmpdi2);
47 
48 EXPORT_SYMBOL(empty_zero_page);
49 EXPORT_SYMBOL(__copy_tofrom_user);
50 EXPORT_SYMBOL(__clear_user);
51 EXPORT_SYMBOL(memset);
52