summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/localbus/macectrl.S
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-05-22 20:37:55 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-05-22 20:37:55 +0000
commit1b14b5a0ab8f44cf9a7b23dc41ac7f7c7f936f5e (patch)
tree31686a5942b4a3de180cd3e1330eb2a520ea972f /sys/arch/sgi/localbus/macectrl.S
parent936eacbd2167cd2794d8383ba8aaca7d7409636a (diff)
Drop almost unused <machine/psl.h> on sgi; move USERMODE() definition from
there to trap.c which is its only user. This also cleans up multiple inclusion of <machine/cpu.h> (because <machine/psl.h> includes it) in many places.
Diffstat (limited to 'sys/arch/sgi/localbus/macectrl.S')
-rw-r--r--sys/arch/sgi/localbus/macectrl.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/sgi/localbus/macectrl.S b/sys/arch/sgi/localbus/macectrl.S
index 8dba3ddf70d..85110f92e02 100644
--- a/sys/arch/sgi/localbus/macectrl.S
+++ b/sys/arch/sgi/localbus/macectrl.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: macectrl.S,v 1.5 2004/09/27 18:52:01 pefo Exp $ */
+/* $OpenBSD: macectrl.S,v 1.6 2009/05/22 20:37:54 miod Exp $ */
/*
* Copyright (c) 2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -26,7 +26,6 @@
*
*/
#include <machine/param.h>
-#include <machine/psl.h>
#include <machine/asm.h>
#include <machine/cpu.h>
#include <machine/regnum.h>