From 0bd1b14946b7632f93b583db4ca5b3707012c724 Mon Sep 17 00:00:00 2001 From: kettenis Date: Mon, 9 Jan 2023 20:32:21 +0000 Subject: [PATCH] Set the default for machdep.lidaction to 1 like on amd64. ok tobhe@, deraadt@ --- sys/arch/arm64/arm64/machdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/arm64/arm64/machdep.c b/sys/arch/arm64/arm64/machdep.c index 0534221d90f..b44af8d2c79 100644 --- a/sys/arch/arm64/arm64/machdep.c +++ b/sys/arch/arm64/arm64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.78 2022/11/26 17:23:15 tobhe Exp $ */ +/* $OpenBSD: machdep.c,v 1.79 2023/01/09 20:32:21 kettenis Exp $ */ /* * Copyright (c) 2014 Patrick Wildt * Copyright (c) 2021 Mark Kettenis @@ -71,7 +71,7 @@ void (*cpuresetfn)(void); void (*powerdownfn)(void); int cold = 1; -int lid_action = 0; +int lid_action = 1; struct vm_map *exec_map = NULL; struct vm_map *phys_map = NULL; -- 2.20.1