Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cbb6dfa9 authored by Greg Hackmann's avatar Greg Hackmann Committed by Satya Durga Srinivasu Prabhala
Browse files

ANDROID: arm64: crypto, LLVMLinux: use %c constraint code in ASM_EXPORT

As suggested at https://llvm.org/bugs/show_bug.cgi?id=27250#c3

.

Bug: 32153599
Change-Id: I03d73ee45faf30f70e3c5ee48ee9853617cfc257
Signed-off-by: default avatarGreg Hackmann <ghackmann@google.com>
Git-commit: 9ce49358591b044e6731fccdb415173d82d0ed6c
Git-repo: https://android.googlesource.com/kernel/common/


Signed-off-by: default avatarSatya Durga Srinivasu Prabhala <satyap@codeaurora.org>
parent c71ffc57
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
#include <linux/module.h>

#define ASM_EXPORT(sym, val) \
	asm(".globl " #sym "; .set " #sym ", %0" :: "I"(val));
	asm(".globl " #sym "; .set " #sym ", %c0" :: "I"(val));

MODULE_DESCRIPTION("SHA1 secure hash using ARMv8 Crypto Extensions");
MODULE_AUTHOR("Ard Biesheuvel <ard.biesheuvel@linaro.org>");
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
#include <linux/module.h>

#define ASM_EXPORT(sym, val) \
	asm(".globl " #sym "; .set " #sym ", %0" :: "I"(val));
	asm(".globl " #sym "; .set " #sym ", %c0" :: "I"(val));

MODULE_DESCRIPTION("SHA-224/SHA-256 secure hash using ARMv8 Crypto Extensions");
MODULE_AUTHOR("Ard Biesheuvel <ard.biesheuvel@linaro.org>");