xref: /OK3568_Linux_fs/buildroot/package/numactl/0001-Do-not-stringify-SYMVER-symbols.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From f96c96af7fbf2779b15f66f03b10315a24fb4f5a Mon Sep 17 00:00:00 2001
2From: Scott McMillan <smcmillan@nvidia.com>
3Date: Fri, 9 Oct 2020 08:56:52 -0500
4Subject: [PATCH] Do not stringify SYMVER symbols
5
6Upstream: f96c96af7fbf2779b15f66f03b10315a24fb4f5a
7Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
8---
9 util.h | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/util.h b/util.h
13index 99ada33..f2a20ac 100644
14--- a/util.h
15+++ b/util.h
16@@ -22,5 +22,5 @@ extern char *policy_name(int policy);
17 #if HAVE_ATTRIBUTE_SYMVER
18 #define SYMVER(a,b) __attribute__ ((symver (b)))
19 #else
20-#define SYMVER(a,b) __asm__ (".symver " #a "," #b);
21+#define SYMVER(a,b) __asm__ (".symver " a "," b);
22 #endif
23--
242.30.2
25
26