diff options
author | Andreas Kling <kling@serenityos.org> | 2021-02-19 21:29:46 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-02-19 21:42:18 +0100 |
commit | 2b2828ae525d22858f303f288df69e8235d3486f (patch) | |
tree | ed2b50b39f080df29c07a54f06a356b1be345635 /Kernel/Random.cpp | |
parent | e920c74cae13faac1ce2db6d921a5bbbcab39335 (diff) | |
download | serenity-2b2828ae525d22858f303f288df69e8235d3486f.zip |
Kernel: Slap UNMAP_AFTER_INIT on a bunch more functions
We're now able to unmap 100 KiB of kernel text after init. :^)
Diffstat (limited to 'Kernel/Random.cpp')
-rw-r--r-- | Kernel/Random.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Random.cpp b/Kernel/Random.cpp index 7e0ec2b93b..08127d7f82 100644 --- a/Kernel/Random.cpp +++ b/Kernel/Random.cpp @@ -42,7 +42,7 @@ KernelRng& KernelRng::the() return *s_the; } -KernelRng::KernelRng() +UNMAP_AFTER_INIT KernelRng::KernelRng() { bool supports_rdseed = Processor::current().has_feature(CPUFeature::RDSEED); bool supports_rdrand = Processor::current().has_feature(CPUFeature::RDRAND); |