2005-04-17 06:20:36 +08:00
|
|
|
/*
|
2007-11-28 19:19:38 +08:00
|
|
|
* arch/sh/kernel/sh_ksyms_64.c
|
2005-04-17 06:20:36 +08:00
|
|
|
*
|
|
|
|
* Copyright (C) 2000, 2001 Paolo Alberelli
|
|
|
|
*
|
2007-11-28 19:19:38 +08: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-17 06:20:36 +08: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 19:44:13 +08:00
|
|
|
#include <linux/screen_info.h>
|
2008-04-25 15:01:38 +08:00
|
|
|
#include <asm/cacheflush.h>
|
2005-04-17 06:20:36 +08: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 15:01:38 +08: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-17 06:20:36 +08:00
|
|
|
/* Networking helper routines. */
|
2008-04-25 15:01:38 +08:00
|
|
|
EXPORT_SYMBOL(csum_partial);
|
2006-11-15 13:19:01 +08:00
|
|
|
EXPORT_SYMBOL(csum_partial_copy_nocheck);
|
2008-04-25 15:01:38 +08:00
|
|
|
#ifdef CONFIG_IPV6
|
|
|
|
EXPORT_SYMBOL(csum_ipv6_magic);
|
|
|
|
#endif
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
#ifdef CONFIG_VT
|
|
|
|
EXPORT_SYMBOL(screen_info);
|
|
|
|
#endif
|
|
|
|
|
2008-04-25 15:01:38 +08:00
|
|
|
EXPORT_SYMBOL(__put_user_asm_b);
|
|
|
|
EXPORT_SYMBOL(__put_user_asm_w);
|
2005-04-17 06:20:36 +08:00
|
|
|
EXPORT_SYMBOL(__put_user_asm_l);
|
2008-04-25 15:01:38 +08:00
|
|
|
EXPORT_SYMBOL(__put_user_asm_q);
|
|
|
|
EXPORT_SYMBOL(__get_user_asm_b);
|
|
|
|
EXPORT_SYMBOL(__get_user_asm_w);
|
2005-04-17 06:20:36 +08:00
|
|
|
EXPORT_SYMBOL(__get_user_asm_l);
|
2008-04-25 15:01:38 +08: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-05 07:23:47 +08:00
|
|
|
EXPORT_SYMBOL(copy_page);
|
2007-10-09 14:55:40 +08:00
|
|
|
EXPORT_SYMBOL(__copy_user);
|
2008-04-16 01:21:47 +08:00
|
|
|
EXPORT_SYMBOL(empty_zero_page);
|
2005-04-17 06:20:36 +08:00
|
|
|
EXPORT_SYMBOL(memcpy);
|
2007-10-01 16:36:47 +08:00
|
|
|
EXPORT_SYMBOL(__udelay);
|
|
|
|
EXPORT_SYMBOL(__ndelay);
|
2008-04-25 15:01:38 +08:00
|
|
|
EXPORT_SYMBOL(__const_udelay);
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
/* Ugh. These come in from libgcc.a at link time. */
|
2007-10-01 16:36:47 +08:00
|
|
|
#define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name)
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2007-10-01 16:36:47 +08:00
|
|
|
DECLARE_EXPORT(__sdivsi3);
|
2008-04-25 15:01:38 +08:00
|
|
|
DECLARE_EXPORT(__sdivsi3_2);
|
2007-10-01 16:36:47 +08:00
|
|
|
DECLARE_EXPORT(__muldi3);
|
|
|
|
DECLARE_EXPORT(__udivsi3);
|
2008-04-25 15:01:38 +08:00
|
|
|
DECLARE_EXPORT(__div_table);
|