1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 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> 12 */ 13 14 #include <linux/export.h> 15 #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> 23 #include <linux/uaccess.h> 24 #include <asm/checksum.h> 25 #include <asm/io.h> 26 #include <asm/hardirq.h> 27 #include <asm/delay.h> 28 #include <asm/pgalloc.h> 29 #include <asm/pgtable.h> 30 31 #define DECLARE_EXPORT(name) extern void name(void); EXPORT_SYMBOL(name) 32 33 /* compiler generated symbols */ 34 DECLARE_EXPORT(__udivsi3); 35 DECLARE_EXPORT(__divsi3); 36 DECLARE_EXPORT(__umodsi3); 37 DECLARE_EXPORT(__modsi3); 38 DECLARE_EXPORT(__muldi3); 39 DECLARE_EXPORT(__ashrdi3); 40 DECLARE_EXPORT(__ashldi3); 41 DECLARE_EXPORT(__lshrdi3); 42 DECLARE_EXPORT(__ucmpdi2); 43 44 EXPORT_SYMBOL(empty_zero_page); 45 EXPORT_SYMBOL(__copy_tofrom_user); 46 EXPORT_SYMBOL(__clear_user); 47 EXPORT_SYMBOL(memset); 48