[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250825192832.6444-3-harryfellowes1@gmail.com>
Date: Mon, 25 Aug 2025 20:28:34 +0100
From: Harry Fellowes <harryfellowes1@...il.com>
To: x86@...nel.org
Cc: linux-kernel@...r.kernel.org,
tglx@...utronix.de,
mingo@...hat.com,
bp@...en8.de,
dave.hansen@...ux.intel.com,
hpa@...or.com,
Harry Fellowes <harryfellowes1@...il.com>
Subject: [PATCH] x86/boot: clean up whitespace in a20.c (v2)
This version fixes indentation problems introduced in the previous patch
while still removing trailing whitespace only.
Apologies for the previous version which seemed to have accidentally removed
indentation on several lines.
Signed-off-by: Harry Fellowes <harryfellowes1@...il.com>
---
arch/x86/boot/a20.c | 10 +++++-----
1 file 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;
}
--
2.51.0
Powered by blists - more mailing lists