summaryrefslogtreecommitdiff
path: root/sys/arch/arm64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2021-05-05 12:02:22 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2021-05-05 12:02:22 +0000
commit22028fce99253e6124d56e0ef400d4afef1859fc (patch)
tree01235a2717a9464fed5e6b3436243495bf6077a2 /sys/arch/arm64
parent85815e2af857f6883a0e1fb377ead900164355fa (diff)
Fix definition of GICD_TYPER_LPIS.
ok patrick@
Diffstat (limited to 'sys/arch/arm64')
-rw-r--r--sys/arch/arm64/dev/agintc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm64/dev/agintc.c b/sys/arch/arm64/dev/agintc.c
index 564f4d2ecd5..60b6aa4ff0e 100644
--- a/sys/arch/arm64/dev/agintc.c
+++ b/sys/arch/arm64/dev/agintc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: agintc.c,v 1.30 2021/02/17 12:11:45 kettenis Exp $ */
+/* $OpenBSD: agintc.c,v 1.31 2021/05/05 12:02:21 kettenis Exp $ */
/*
* Copyright (c) 2007, 2009, 2011, 2017 Dale Rahn <drahn@dalerahn.com>
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
@@ -70,7 +70,7 @@
#define GICD_CTLR_ARE_NS (1 << 4)
#define GICD_CTLR_DS (1 << 6)
#define GICD_TYPER 0x0004
-#define GICD_TYPER_LPIS (1 << 16)
+#define GICD_TYPER_LPIS (1 << 17)
#define GICD_TYPER_ITLINE_M 0x1f
#define GICD_IIDR 0x0008
#define GICD_ISENABLER(i) (0x0100 + (IRQ_TO_REG32(i) * 4))