2005-04-16 18:20:36 -04:00
|
|
|
/*
|
2007-11-28 06:19:38 -05:00
|
|
|
* arch/sh/kernel/sh_ksyms_64.c
|
2005-04-16 18:20:36 -04:00
|
|
|
*
|
|
|
|
* Copyright (C) 2000, 2001 Paolo Alberelli
|
|
|
|
*
|
2007-11-28 06:19:38 -05:00
|
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
|
|
* for more details.
|
2005-04-16 18:20:36 -04:00
|
|
|
*/
|
|
|
|
#include <linux/rwsem.h>
|
|
|
|
#include <linux/module.h>
|
|
|
|
#include <linux/smp.h>
|
|
|
|
#include <linux/user.h>
|
|
|
|
#include <linux/elfcore.h>
|
|
|
|
#include <linux/sched.h>
|
|
|
|
#include <linux/in6.h>
|
|
|
|
#include <linux/interrupt.h>
|
2006-07-10 07:44:13 -04:00
|
|
|
#include <linux/screen_info.h>
|
2008-04-25 03:01:38 -04:00
|
|
|
#include <asm/cacheflush.h>
|
2005-04-16 18:20:36 -04:00
|
|
|
#include <asm/processor.h>
|
|
|
|
#include <asm/uaccess.h>
|
|
|
|
#include <asm/checksum.h>
|
|
|
|
#include <asm/io.h>
|
|
|
|
#include <asm/delay.h>
|
|
|
|
#include <asm/irq.h>
|
|
|
|
|
|
|
|
extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
|
|
|
|
|
|
|
|
/* platform dependent support */
|
|
|
|
EXPORT_SYMBOL(dump_fpu);
|
|
|
|
EXPORT_SYMBOL(kernel_thread);
|
|
|
|
|
2008-04-25 03:01:38 -04:00
|
|
|
#if !defined(CONFIG_CACHE_OFF) && defined(CONFIG_MMU)
|
|
|
|
EXPORT_SYMBOL(clear_user_page);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CONFIG_CACHE_OFF
|
|
|
|
EXPORT_SYMBOL(flush_dcache_page);
|
|
|
|
#endif
|
|
|
|
|
2005-04-16 18:20:36 -04:00
|
|
|
/* Networking helper routines. */
|
2008-04-25 03:01:38 -04:00
|
|
|
EXPORT_SYMBOL(csum_partial);
|
2006-11-15 00:19:01 -05:00
|
|
|
EXPORT_SYMBOL(csum_partial_copy_nocheck);
|
2008-04-25 03:01:38 -04:00
|
|
|
#ifdef CONFIG_IPV6
|
|
|
|
EXPORT_SYMBOL(csum_ipv6_magic);
|
|
|
|
#endif
|
2005-04-16 18:20:36 -04:00
|
|
|
|
|
|
|
#ifdef CONFIG_VT
|
|
|
|
EXPORT_SYMBOL(screen_info);
|
|
|
|
#endif
|
|
|
|
|
2008-04-25 03:01:38 -04:00
|
|
|
EXPORT_SYMBOL(__put_user_asm_b);
|
|
|
|
EXPORT_SYMBOL(__put_user_asm_w);
|
2005-04-16 18:20:36 -04:00
|
|
|
EXPORT_SYMBOL(__put_user_asm_l);
|
2008-04-25 03:01:38 -04:00
|
|
|
EXPORT_SYMBOL(__put_user_asm_q);
|
|
|
|
EXPORT_SYMBOL(__get_user_asm_b);
|
|
|
|
EXPORT_SYMBOL(__get_user_asm_w);
|
2005-04-16 18:20:36 -04:00
|
|
|
EXPORT_SYMBOL(__get_user_asm_l);
|
2008-04-25 03:01:38 -04:00
|
|
|
EXPORT_SYMBOL(__get_user_asm_q);
|
|
|
|
EXPORT_SYMBOL(__strnlen_user);
|
|
|
|
EXPORT_SYMBOL(__strncpy_from_user);
|
|
|
|
EXPORT_SYMBOL(clear_page);
|
|
|
|
EXPORT_SYMBOL(__clear_user);
|
2008-03-04 18:23:47 -05:00
|
|
|
EXPORT_SYMBOL(copy_page);
|
2007-10-09 02:55:40 -04:00
|
|
|
EXPORT_SYMBOL(__copy_user);
|
2008-04-15 13:21:47 -04:00
|
|
|
EXPORT_SYMBOL(empty_zero_page);
|
2005-04-16 18:20:36 -04:00
|
|
|
EXPORT_SYMBOL(memcpy);
|
2007-10-01 04:36:47 -04:00
|
|
|
EXPORT_SYMBOL(__udelay);
|
|
|
|
EXPORT_SYMBOL(__ndelay);
|
2008-04-25 03:01:38 -04:00
|
|
|
EXPORT_SYMBOL(__const_udelay);
|
2005-04-16 18:20:36 -04:00
|
|
|
|
|
|
|
/* Ugh. These come in from libgcc.a at link time. */
|
2007-10-01 04:36:47 -04:00
|
|
|
#define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name)
|
2005-04-16 18:20:36 -04:00
|
|
|
|
2007-10-01 04:36:47 -04:00
|
|
|
DECLARE_EXPORT(__sdivsi3);
|
2008-04-25 03:01:38 -04:00
|
|
|
DECLARE_EXPORT(__sdivsi3_2);
|
2007-10-01 04:36:47 -04:00
|
|
|
DECLARE_EXPORT(__muldi3);
|
|
|
|
DECLARE_EXPORT(__udivsi3);
|
2008-04-25 03:01:38 -04:00
|
|
|
DECLARE_EXPORT(__div_table);
|