summaryrefslogtreecommitdiff
path: root/AK/Compiler.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-11-09 01:25:31 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-11-09 01:25:31 +0100
commite71cb1c56bc21c2897734a57e8d15c76ec63e038 (patch)
tree3e2e9de1d5dd4eb8264ea76130a4e2a9dad737b2 /AK/Compiler.h
parent7b96218389ce2e69161b2a561d4f606088ff3d65 (diff)
downloadserenity-e71cb1c56bc21c2897734a57e8d15c76ec63e038.zip
Fix some paging related bugs exposed by the spawn stress test.
- Process::exec() needs to restore the original paging scope when called on a non-current process. - Add missing InterruptDisabler guards around g_processes access. - Only flush the TLB when modifying the active page tables.
Diffstat (limited to 'AK/Compiler.h')
-rw-r--r--AK/Compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/Compiler.h b/AK/Compiler.h
index f7ebfa12d6..04fad92b7f 100644
--- a/AK/Compiler.h
+++ b/AK/Compiler.h
@@ -3,7 +3,7 @@
#define PACKED __attribute__ ((packed))
#define NORETURN __attribute__ ((noreturn))
#undef ALWAYS_INLINE
-#define ALWAYS_INLINE __attribute__ ((always_inline))
+#define ALWAYS_INLINE inline __attribute__ ((always_inline))
#define NEVER_INLINE __attribute__ ((noinline))
#define MALLOC_ATTR __attribute__ ((malloc))
#define PURE __attribute__ ((pure))