summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarry Fellowes <harryfellowes1@gmail.com>2025-08-25 20:28:34 +0100
committerBorislav Petkov (AMD) <bp@alien8.de>2025-11-28 20:29:52 +0100
commitd911fe6e942e60900577314dc1f1529b90e4da07 (patch)
treeef0b7b0d06b9226db55b2397605fefa2852c2880
parent3d1f1088455d9a9bce51f0c1e6a81f518a5cb468 (diff)
x86/boot: Clean up whitespace in a20.c
Remove trailing whitespace on empty lines. No functional changes. [ bp: Massage commit message. ] Signed-off-by: Harry Fellowes <harryfellowes1@gmail.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://patch.msgid.link/20250825192832.6444-3-harryfellowes1@gmail.com
-rw-r--r--arch/x86/boot/a20.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/boot/a20.c b/arch/x86/boot/a20.c
index a2b6b428922a..bda042933a05 100644
--- a/arch/x86/boot/a20.c
+++ b/arch/x86/boot/a20.c
@@ -135,29 +135,29 @@ int enable_a20(void)
(legacy free, etc.) */
if (a20_test_short())
return 0;
-
+
/* Next, try the BIOS (INT 0x15, AX=0x2401) */
enable_a20_bios();
if (a20_test_short())
return 0;
-
+
/* Try enabling A20 through the keyboard controller */
kbc_err = empty_8042();
if (a20_test_short())
return 0; /* BIOS worked, but with delayed reaction */
-
+
if (!kbc_err) {
enable_a20_kbc();
if (a20_test_long())
return 0;
}
-
+
/* Finally, try enabling the "fast A20 gate" */
enable_a20_fast();
if (a20_test_long())
return 0;
}
-
+
return -1;
}