blob: 7d6a62eee2eff386bf88d9d1774ae8a67c877364 [file] [log] [blame]
Thomas Gleixner2874c5f2019-05-27 08:55:01 +02001// SPDX-License-Identifier: GPL-2.0-or-later
Jonas Bonn61625762011-06-04 22:45:16 +03002/*
3 * OpenRISC or32_ksyms.c
4 *
5 * Linux architectural port borrowing liberally from similar works of
6 * others. All original copyrights apply as per the original source
7 * declaration.
8 *
9 * Modifications for the OpenRISC architecture:
10 * Copyright (C) 2003 Matjaz Breskvar <phoenix@bsemi.com>
11 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se>
Jonas Bonn61625762011-06-04 22:45:16 +030012 */
13
Stafford Horne19388522017-03-14 22:54:22 +090014#include <linux/export.h>
Jonas Bonn61625762011-06-04 22:45:16 +030015#include <linux/elfcore.h>
16#include <linux/sched.h>
17#include <linux/in6.h>
18#include <linux/interrupt.h>
19#include <linux/vmalloc.h>
20#include <linux/semaphore.h>
21
22#include <asm/processor.h>
Linus Torvalds7c0f6ba2016-12-24 11:46:01 -080023#include <linux/uaccess.h>
Jonas Bonn61625762011-06-04 22:45:16 +030024#include <asm/checksum.h>
25#include <asm/io.h>
26#include <asm/hardirq.h>
27#include <asm/delay.h>
28#include <asm/pgalloc.h>
Stafford Horne363dad52017-03-14 22:52:49 +090029#include <asm/pgtable.h>
Jonas Bonn61625762011-06-04 22:45:16 +030030
31#define DECLARE_EXPORT(name) extern void name(void); EXPORT_SYMBOL(name)
32
33/* compiler generated symbols */
34DECLARE_EXPORT(__udivsi3);
35DECLARE_EXPORT(__divsi3);
36DECLARE_EXPORT(__umodsi3);
37DECLARE_EXPORT(__modsi3);
38DECLARE_EXPORT(__muldi3);
39DECLARE_EXPORT(__ashrdi3);
40DECLARE_EXPORT(__ashldi3);
41DECLARE_EXPORT(__lshrdi3);
Stafford Horne363dad52017-03-14 22:52:49 +090042DECLARE_EXPORT(__ucmpdi2);
Jonas Bonn61625762011-06-04 22:45:16 +030043
Stafford Horne363dad52017-03-14 22:52:49 +090044EXPORT_SYMBOL(empty_zero_page);
Jonas Bonn61625762011-06-04 22:45:16 +030045EXPORT_SYMBOL(__copy_tofrom_user);
Stafford Horne363dad52017-03-14 22:52:49 +090046EXPORT_SYMBOL(__clear_user);
Olof Kindgrend857a1e2015-02-06 13:41:51 +010047EXPORT_SYMBOL(memset);