summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorNicholas Chin <nic.c3.14@gmail.com>2024-05-01 20:10:43 -0600
committerNicholas Chin <nic.c3.14@gmail.com>2024-05-01 20:10:43 -0600
commit61dbaf9463034fb893ca8f5131681bdd54ec5472 (patch)
tree16bc3700ba12ed11dba67992178fc5e5c06578b2 /util
parent355dffb7089707efd8ebe75b1652cec44a06f317 (diff)
dell_flash_unlock: Set iopl level back to 0 when done
Signed-off-by: Nicholas Chin <nic.c3.14@gmail.com>
Diffstat (limited to 'util')
-rw-r--r--util/dell-flash-unlock/dell_flash_unlock.c1
1 files changed, 1 insertions, 0 deletions
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;
}