mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-16 14:32:18 +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:
parent
5921df75b6
commit
7a8206197e
Notes:
sideshowbarker
2024-07-17 05:50:25 +09:00
Author: https://github.com/gunnarbeutner
Commit: 7a8206197e
Pull-request: https://github.com/SerenityOS/serenity/pull/15558
Reviewed-by: https://github.com/BertalanD
Reviewed-by: https://github.com/FireFox317
Reviewed-by: https://github.com/awesomekling ✅
Reviewed-by: https://github.com/linusg
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue