diff options
author | Daniel Bertalan <dani@danielbertalan.dev> | 2021-12-04 09:08:27 +0100 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-12-04 11:59:59 -0800 |
commit | 8e2d0c8d5cbbc8a2773c187090f2b652157fd5f5 (patch) | |
tree | 5c19baf36d01d848e32e6c74642b3762f2548c59 /Kernel/API/Syscall.h | |
parent | c369626ac19c4f03fb15e5d869c6c9d39ad56fa3 (diff) | |
download | serenity-8e2d0c8d5cbbc8a2773c187090f2b652157fd5f5.zip |
Kernel: Do not return a null ref in `Processor::current` on aarch64
Clang rejects binding a reference to a null pointer at compile-time.
Let's just crash explicitly, instead of waiting for a null dereference
to mess things up.
Diffstat (limited to 'Kernel/API/Syscall.h')
0 files changed, 0 insertions, 0 deletions