aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNagarathnam Muthusamy <nagarathnam.muthusamy@oracle.com>2017-06-19 13:08:48 -0400
committerDavid S. Miller <davem@davemloft.net>2017-06-19 14:13:05 -0400
commitbdca8cc096203b17ad0ac4e19f50578207e054d2 (patch)
treedfbc06b0d1bded0a6bc3950c1c572539bc7da699
parent5faab9e0f03c4eef97886b45436015e107f79f5f (diff)
Adding asm-prototypes.h for genksyms to generate crc
This patch adds the prototypes of assembly defined functions to asm-prototypes.h. Some prototypes are directly added as they are not present in any existing header files. Signed-off-by: Nagarathnam Muthusamy <nagarathnam.muthusamy@oracle.com> Reviewed-by: Babu Moger <babu.moger@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--arch/sparc/include/asm/asm-prototypes.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/asm-prototypes.h b/arch/sparc/include/asm/asm-prototypes.h
new file mode 100644
index 000000000000..d381e11c5dbb
--- /dev/null
+++ b/arch/sparc/include/asm/asm-prototypes.h
@@ -0,0 +1,24 @@
1/*
2 * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.
3 */
4
5#include <asm/xor.h>
6#include <asm/checksum.h>
7#include <asm/trap_block.h>
8#include <asm/uaccess.h>
9#include <asm/atomic.h>
10#include <asm/ftrace.h>
11#include <asm/cacheflush.h>
12#include <asm/oplib.h>
13#include <linux/atomic.h>
14
15void *__memscan_zero(void *, size_t);
16void *__memscan_generic(void *, int, size_t);
17void *__bzero(void *, size_t);
18void VISenter(void); /* Dummy prototype to supress warning */
19#undef memcpy
20#undef memset
21void *memcpy(void *dest, const void *src, size_t n);
22void *memset(void *s, int c, size_t n);
23typedef int TItype __attribute__((mode(TI)));
24TItype __multi3(TItype a, TItype b);