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/module.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 <asm/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 34 #define DECLARE_EXPORT(name) extern void name(void); EXPORT_SYMBOL(name) 35 36 /* compiler generated symbols */ 37 DECLARE_EXPORT(__udivsi3); 38 DECLARE_EXPORT(__divsi3); 39 DECLARE_EXPORT(__umodsi3); 40 DECLARE_EXPORT(__modsi3); 41 DECLARE_EXPORT(__muldi3); 42 DECLARE_EXPORT(__ashrdi3); 43 DECLARE_EXPORT(__ashldi3); 44 DECLARE_EXPORT(__lshrdi3); 45 46 EXPORT_SYMBOL(__copy_tofrom_user); 47