linux/arch/hexagon/kernel/hexagon_ksyms.c
<<
>>
Prefs
   1/*
   2 * Export of symbols defined in assembly files and/or libgcc.
   3 *
   4 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
   5 *
   6 * This program is free software; you can redistribute it and/or modify
   7 * it under the terms of the GNU General Public License version 2 and
   8 * only version 2 as published by the Free Software Foundation.
   9 *
  10 * This program is distributed in the hope that it will be useful,
  11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13 * GNU General Public License for more details.
  14 *
  15 * You should have received a copy of the GNU General Public License
  16 * along with this program; if not, write to the Free Software
  17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  18 * 02110-1301, USA.
  19 */
  20
  21#include <linux/dma-mapping.h>
  22#include <asm/hexagon_vm.h>
  23#include <asm/io.h>
  24#include <asm/uaccess.h>
  25
  26/* Additional functions */
  27EXPORT_SYMBOL(__clear_user_hexagon);
  28EXPORT_SYMBOL(__copy_from_user_hexagon);
  29EXPORT_SYMBOL(__copy_to_user_hexagon);
  30EXPORT_SYMBOL(__iounmap);
  31EXPORT_SYMBOL(__strnlen_user);
  32EXPORT_SYMBOL(__vmgetie);
  33EXPORT_SYMBOL(__vmsetie);
  34EXPORT_SYMBOL(__vmyield);
  35EXPORT_SYMBOL(empty_zero_page);
  36EXPORT_SYMBOL(ioremap_nocache);
  37EXPORT_SYMBOL(memcpy);
  38EXPORT_SYMBOL(memset);
  39
  40/* Additional variables */
  41EXPORT_SYMBOL(__phys_offset);
  42EXPORT_SYMBOL(_dflt_cache_att);
  43EXPORT_SYMBOL(bad_dma_address);
  44
  45#define DECLARE_EXPORT(name)     \
  46        extern void name(void); EXPORT_SYMBOL(name)
  47
  48/* Symbols found in libgcc that assorted kernel modules need */
  49DECLARE_EXPORT(__hexagon_memcpy_likely_aligned_min32bytes_mult8bytes);
  50
  51/* Additional functions */
  52DECLARE_EXPORT(__divsi3);
  53DECLARE_EXPORT(__modsi3);
  54DECLARE_EXPORT(__udivsi3);
  55DECLARE_EXPORT(__umodsi3);
  56DECLARE_EXPORT(csum_tcpudp_magic);
  57