From 61dbaf9463034fb893ca8f5131681bdd54ec5472 Mon Sep 17 00:00:00 2001 From: Nicholas Chin Date: Wed, 1 May 2024 20:10:43 -0600 Subject: [PATCH] dell_flash_unlock: Set iopl level back to 0 when done Signed-off-by: Nicholas Chin --- util/dell-flash-unlock/dell_flash_unlock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/util/dell-flash-unlock/dell_flash_unlock.c b/util/dell-flash-unlock/dell_flash_unlock.c index 6118b0d4..d59f5d5b 100644 --- a/util/dell-flash-unlock/dell_flash_unlock.c +++ b/util/dell-flash-unlock/dell_flash_unlock.c @@ -96,6 +96,7 @@ main(int argc, char *argv[]) "You can now shutdown the system.\n"); } } + sys_iopl(0); return errno; }