summaryrefslogtreecommitdiff
path: root/arch/x86/lib
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-05-24 05:32:59 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2022-05-24 05:32:59 +0300
commitabc8babefbc1fc6f013573bc933d66bc906cf726 (patch)
tree4fd7629e6b50cee1c9de09c85f4b4a82efef2165 /arch/x86/lib
parent3e2cbc016b1d08463925db9b9bd3bd253f64b8b0 (diff)
parent1ef64b1e89e6d4018da46e08ffc32779a31160c7 (diff)
downloadlinux-abc8babefbc1fc6f013573bc933d66bc906cf726.tar.xz
Merge tag 'x86_misc_for_v5.19_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull misc x86 updates from Borislav Petkov: "A variety of fixes which don't fit any other tip bucket: - Remove unnecessary function export - Correct asm constraint - Fix __setup handlers retval" * tag 'x86_misc_for_v5.19_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/mm: Cleanup the control_va_addr_alignment() __setup handler x86: Fix return value of __setup handlers x86/delay: Fix the wrong asm constraint in delay_loop() x86/amd_nb: Unexport amd_cache_northbridges()
Diffstat (limited to 'arch/x86/lib')
-rw-r--r--arch/x86/lib/delay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/lib/delay.c b/arch/x86/lib/delay.c
index 65d15df6212d..0e65d00e2339 100644
--- a/arch/x86/lib/delay.c
+++ b/arch/x86/lib/delay.c
@@ -54,8 +54,8 @@ static void delay_loop(u64 __loops)
" jnz 2b \n"
"3: dec %0 \n"
- : /* we don't need output */
- :"a" (loops)
+ : "+a" (loops)
+ :
);
}