aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org> 2023-02-27 09:27:31 -0800
committerGravatar Linus Torvalds <torvalds@linux-foundation.org> 2023-02-27 09:27:31 -0800
commitb6cc7a0436906b18f51c3e6b1f41d648bf645bd7 (patch)
treef3c595614f68e6c22f312ade2a2d46e0fc86d806 /arch
parentMerge tag 'rproc-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/remot... (diff)
parentcsky: delay: Add function alignment (diff)
downloadlinux-b6cc7a0436906b18f51c3e6b1f41d648bf645bd7.tar.gz
linux-b6cc7a0436906b18f51c3e6b1f41d648bf645bd7.tar.bz2
linux-b6cc7a0436906b18f51c3e6b1f41d648bf645bd7.zip
Merge tag 'csky-for-linus-6.3' of https://github.com/c-sky/csky-linux
Pull csky update from Guo Ren: - Optimize delay accuracy * tag 'csky-for-linus-6.3' of https://github.com/c-sky/csky-linux: csky: delay: Add function alignment
Diffstat (limited to 'arch')
-rw-r--r--arch/csky/lib/delay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/csky/lib/delay.c b/arch/csky/lib/delay.c
index 22570b0790d6..f5db317313bb 100644
--- a/arch/csky/lib/delay.c
+++ b/arch/csky/lib/delay.c
@@ -5,7 +5,7 @@
#include <linux/init.h>
#include <linux/delay.h>
-void __delay(unsigned long loops)
+void __aligned(8) __delay(unsigned long loops)
{
asm volatile (
"mov r0, r0\n"