Kernel: Move SMAP disabler RAII helper to its own file

Added this in a new directory called Kernel/Arch/x86/ where stuff
that applies to both i386 and x86_64 can live.
This commit is contained in:
Andreas Kling 2021-02-25 17:25:34 +01:00
commit 8129f3da52
Notes: sideshowbarker 2024-07-18 21:56:04 +09:00
9 changed files with 59 additions and 19 deletions

View file

@ -24,6 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <Kernel/Arch/x86/SmapDisabler.h>
#include <Kernel/Panic.h>
#include <Kernel/Process.h>