From dcbd13425ecf2e5a64ef9058f517b0484ff0ce3c 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 6118b0d..d59f5d5 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; }