Skip to contentSkip to conversation

Patch "Adding asm-prototypes.h for genksyms to generate crc" has been added to the 4.12-stable tree

PATCH [email protected] 1 participant 1 message Jul 18, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

Adding asm-prototypes.h for genksyms to generate crc

to the 4.12-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
adding-asm-prototypes.h-for-genksyms-to-generate-crc.patch
and it can be found in the queue-4.12 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From foo@baz Tue Jul 18 09:36:30 CEST 2017

From: Nagarathnam Muthusamy <[email protected]>
Date: Mon, 19 Jun 2017 13:08:48 -0400
Subject: Adding asm-prototypes.h for genksyms to generate crc

From: Nagarathnam Muthusamy <[email protected]>

[ 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.

---
 arch/sparc/include/asm/asm-prototypes.h |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 arch/sparc/include/asm/asm-prototypes.h
arch/sparc/include/asm/asm-prototypes.h new file +24 -0
@@ -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);

Patches currently in stable-queue which might be from [email protected] are

queue-4.12/sed-regex-in-makefile.build-requires-line-break-between-exported-symbols.patch queue-4.12/adding-asm-prototypes.h-for-genksyms-to-generate-crc.patch queue-4.12/adding-the-type-of-exported-symbols.patch