From 5e46528be9b1f0efcb4b3abf2033d6a37432f248 Mon Sep 17 00:00:00 2001 From: turret Date: Sun, 14 Jan 2024 21:19:06 -0600 Subject: misc: change RSL 2 -> 1 design choice since 1 << n == pow(2,n) --- init/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init/log.c') diff --git a/init/log.c b/init/log.c index 84ab7a1..f39467c 100644 --- a/init/log.c +++ b/init/log.c @@ -34,7 +34,7 @@ static const char *mode_to_string[] = { static int console_lock = 0; -#define MAX_TRY_COUNT 2 << 16 +#define MAX_TRY_COUNT 1 << 17 static void obtain_console_lock(void) { int try_count = 0; -- cgit v1.2.3