summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-02-27 20:27:31 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2023-02-27 20:27:31 +0300
commitb6cc7a0436906b18f51c3e6b1f41d648bf645bd7 (patch)
treef3c595614f68e6c22f312ade2a2d46e0fc86d806 /arch
parentf3a2439f20d918930cc4ae8f76fe1c1afd26958f (diff)
parent4a3ec00957fdf182be705d46e77acacc430f7d65 (diff)
downloadlinux-b6cc7a0436906b18f51c3e6b1f41d648bf645bd7.tar.xz
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"