summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorNagarathnam Muthusamy <nagarathnam.muthusamy@oracle.com>2017-06-19 13:08:48 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-21 06:59:06 +0200
commitca2c0e7ee242ecf6b970a441ed5e8ab33b0d9d9a (patch)
tree9a1d8d8a6ed0a8e5f90d9f5d263a2ecc91ea0ed8 /arch/sparc/include
parent28cc60e93cdd7978ac79736f2cee2cc43ac5223d (diff)
downloadtalos-op-linux-ca2c0e7ee242ecf6b970a441ed5e8ab33b0d9d9a.tar.gz
talos-op-linux-ca2c0e7ee242ecf6b970a441ed5e8ab33b0d9d9a.zip
Adding asm-prototypes.h for genksyms to generate crc
[ Upstream commit bdca8cc096203b17ad0ac4e19f50578207e054d2 ] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sparc/include')
-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 @@
+/*
+ * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.
+ */
+
+#include <asm/xor.h>
+#include <asm/checksum.h>
+#include <asm/trap_block.h>
+#include <asm/uaccess.h>
+#include <asm/atomic.h>
+#include <asm/ftrace.h>
+#include <asm/cacheflush.h>
+#include <asm/oplib.h>
+#include <linux/atomic.h>
+
+void *__memscan_zero(void *, size_t);
+void *__memscan_generic(void *, int, size_t);
+void *__bzero(void *, size_t);
+void VISenter(void); /* Dummy prototype to supress warning */
+#undef memcpy
+#undef memset
+void *memcpy(void *dest, const void *src, size_t n);
+void *memset(void *s, int c, size_t n);
+typedef int TItype __attribute__((mode(TI)));
+TItype __multi3(TItype a, TItype b);
OpenPOWER on IntegriCloud