1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:57:35 +00:00

AK: Stub out the NAKED macro on AARCH64

This is almost certainly incorrect but we'll see about that once
the kernel actually gets to userspace init.
This commit is contained in:
Gunnar Beutner 2022-10-12 22:05:41 +02:00 committed by Linus Groh
parent 5921df75b6
commit 7a8206197e

View file

@ -123,7 +123,11 @@
#ifdef NAKED #ifdef NAKED
# undef NAKED # undef NAKED
#endif #endif
#define NAKED __attribute__((naked)) #ifndef AK_ARCH_AARCH64
# define NAKED __attribute__((naked))
#else
# define NAKED
#endif
#ifdef DISALLOW #ifdef DISALLOW
# undef DISALLOW # undef DISALLOW