diff options
author | Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> | 2016-04-11 16:38:21 +0200 |
---|---|---|
committer | Sumit Semwal <sumit.semwal@linaro.org> | 2016-12-20 22:19:27 +0530 |
commit | 30963a878a4c93ff73e811c9fa9730029c4497fc (patch) | |
tree | 8bcc1de4d886b8744a9483a397e6bebdbeb7be01 | |
parent | 35eeed04fbf4b288deff7d0dca88af5baf777e68 (diff) |
x86: Fix build with clang, mul needs to be qualified as mulq
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r-- | arch/x86/boot/compressed/aslr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/boot/compressed/aslr.c b/arch/x86/boot/compressed/aslr.c index 6a9b96b4624d..3a94b4d8ec56 100644 --- a/arch/x86/boot/compressed/aslr.c +++ b/arch/x86/boot/compressed/aslr.c @@ -94,7 +94,7 @@ static unsigned long get_random_long(void) } /* Circular multiply for better bit diffusion */ - asm("mul %3" + asm("mulq %3" : "=a" (random), "=d" (raw) : "a" (random), "rm" (mix_const)); random += raw; |