[PATCH 02/18] sparse: define __x86_64; some software checks for this not __x86_64__

John Levon <[email protected]>
Newsgroups org.kernel.vger.smatch
Message-ID <[email protected]>
Signed-off-by: John Levon <[email protected]>
---
 lib.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib.c b/lib.c
index b03229c0..be71e5b3 100644
--- a/lib.c
+++ b/lib.c
@@ -461,6 +461,7 @@ static void handle_arch_m64_finalize(void)
 		pointer_alignment = 8;
 #ifdef __x86_64__
 		add_pre_buffer("#weak_define __x86_64__ 1\n");
+ 		add_pre_buffer("#weak_define __x86_64 1\n");
 #endif
 		break;
 	}
-- 
2.14.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.