mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-06 02:16:39 +07:00
c4945b9ed4
As a preparation for providing little-endian bitops for all architectures, This renames generic implementation of little-endian bitops. (remove "generic_" prefix and postfix "_le") s/generic_find_next_le_bit/find_next_bit_le/ s/generic_find_next_zero_le_bit/find_next_zero_bit_le/ s/generic_find_first_zero_le_bit/find_first_zero_bit_le/ s/generic___test_and_set_le_bit/__test_and_set_bit_le/ s/generic___test_and_clear_le_bit/__test_and_clear_bit_le/ s/generic_test_le_bit/test_bit_le/ s/generic___set_le_bit/__set_bit_le/ s/generic___clear_le_bit/__clear_bit_le/ s/generic_test_and_set_le_bit/test_and_set_bit_le/ s/generic_test_and_clear_le_bit/test_and_clear_bit_le/ Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Roman Zippel <zippel@linux-m68k.org> Cc: Andreas Schwab <schwab@linux-m68k.org> Cc: Greg Ungerer <gerg@uclinux.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
71 lines
1.8 KiB
C
71 lines
1.8 KiB
C
/*
|
|
* Export AVR32-specific functions for loadable modules.
|
|
*
|
|
* Copyright (C) 2004-2006 Atmel Corporation
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
#include <linux/delay.h>
|
|
#include <linux/io.h>
|
|
#include <linux/module.h>
|
|
|
|
#include <asm/checksum.h>
|
|
#include <asm/uaccess.h>
|
|
|
|
/*
|
|
* GCC functions
|
|
*/
|
|
extern unsigned long long __avr32_lsl64(unsigned long long u, unsigned long b);
|
|
extern unsigned long long __avr32_lsr64(unsigned long long u, unsigned long b);
|
|
extern unsigned long long __avr32_asr64(unsigned long long u, unsigned long b);
|
|
EXPORT_SYMBOL(__avr32_lsl64);
|
|
EXPORT_SYMBOL(__avr32_lsr64);
|
|
EXPORT_SYMBOL(__avr32_asr64);
|
|
|
|
/*
|
|
* String functions
|
|
*/
|
|
EXPORT_SYMBOL(memset);
|
|
EXPORT_SYMBOL(memcpy);
|
|
|
|
EXPORT_SYMBOL(clear_page);
|
|
EXPORT_SYMBOL(copy_page);
|
|
|
|
/*
|
|
* Userspace access stuff.
|
|
*/
|
|
EXPORT_SYMBOL(copy_from_user);
|
|
EXPORT_SYMBOL(copy_to_user);
|
|
EXPORT_SYMBOL(__copy_user);
|
|
EXPORT_SYMBOL(strncpy_from_user);
|
|
EXPORT_SYMBOL(__strncpy_from_user);
|
|
EXPORT_SYMBOL(clear_user);
|
|
EXPORT_SYMBOL(__clear_user);
|
|
EXPORT_SYMBOL(strnlen_user);
|
|
|
|
EXPORT_SYMBOL(csum_partial);
|
|
EXPORT_SYMBOL(csum_partial_copy_generic);
|
|
|
|
/* Delay loops (lib/delay.S) */
|
|
EXPORT_SYMBOL(__ndelay);
|
|
EXPORT_SYMBOL(__udelay);
|
|
EXPORT_SYMBOL(__const_udelay);
|
|
|
|
/* Bit operations (lib/findbit.S) */
|
|
EXPORT_SYMBOL(find_first_zero_bit);
|
|
EXPORT_SYMBOL(find_next_zero_bit);
|
|
EXPORT_SYMBOL(find_first_bit);
|
|
EXPORT_SYMBOL(find_next_bit);
|
|
EXPORT_SYMBOL(find_next_bit_le);
|
|
EXPORT_SYMBOL(find_next_zero_bit_le);
|
|
|
|
/* I/O primitives (lib/io-*.S) */
|
|
EXPORT_SYMBOL(__raw_readsb);
|
|
EXPORT_SYMBOL(__raw_readsw);
|
|
EXPORT_SYMBOL(__raw_readsl);
|
|
EXPORT_SYMBOL(__raw_writesb);
|
|
EXPORT_SYMBOL(__raw_writesw);
|
|
EXPORT_SYMBOL(__raw_writesl);
|