blob: 212e5f85004cc73b1d5144807323448a1f88ee11 [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>
Mike Rapoport65fddcf2020-06-08 21:32:42 -070021#include <linux/pgtable.h>
Jonas Bonn61625762011-06-04 22:45:16 +030022
23#include <asm/processor.h>
Linus Torvalds7c0f6ba2016-12-24 11:46:01 -080024#include <linux/uaccess.h>
Jonas Bonn61625762011-06-04 22:45:16 +030025#include <asm/checksum.h>
26#include <asm/io.h>
27#include <asm/hardirq.h>
28#include <asm/delay.h>
Jonas Bonn61625762011-06-04 22:45:16 +030029
30#define DECLARE_EXPORT(name) extern void name(void); EXPORT_SYMBOL(name)
31
32/* compiler generated symbols */
33DECLARE_EXPORT(__udivsi3);
34DECLARE_EXPORT(__divsi3);
35DECLARE_EXPORT(__umodsi3);
36DECLARE_EXPORT(__modsi3);
37DECLARE_EXPORT(__muldi3);
38DECLARE_EXPORT(__ashrdi3);
39DECLARE_EXPORT(__ashldi3);
40DECLARE_EXPORT(__lshrdi3);
Stafford Horne363dad52017-03-14 22:52:49 +090041DECLARE_EXPORT(__ucmpdi2);
Jonas Bonn61625762011-06-04 22:45:16 +030042
Stafford Horne363dad52017-03-14 22:52:49 +090043EXPORT_SYMBOL(empty_zero_page);
Jonas Bonn61625762011-06-04 22:45:16 +030044EXPORT_SYMBOL(__copy_tofrom_user);
Stafford Horne363dad52017-03-14 22:52:49 +090045EXPORT_SYMBOL(__clear_user);
Olof Kindgrend857a1e2015-02-06 13:41:51 +010046EXPORT_SYMBOL(memset);