diff options
author | Scott Soule Cheloha <cheloha@cvs.openbsd.org> | 2023-07-02 19:02:29 +0000 |
---|---|---|
committer | Scott Soule Cheloha <cheloha@cvs.openbsd.org> | 2023-07-02 19:02:29 +0000 |
commit | 6ab04ff568e8500392a500a635857450d6d69369 (patch) | |
tree | 646c660f0fd9a491e1982c9773d599ff35abdfab /sys/arch/i386 | |
parent | 4fd9808494c2101f7ad6f8d4e93f9187c9ce65da (diff) |
all platforms, kernel: remove __HAVE_CLOCKINTR symbol
Every platform made the clockintr switch at least six months ago.
The __HAVE_CLOCKINTR symbol is now redundant. Remove it.
Prompted by claudio@.
Link: https://marc.info/?l=openbsd-tech&m=168826181015032&w=2
"makes sense" mlarkin@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/i386/apm.c | 4 | ||||
-rw-r--r-- | sys/arch/i386/include/_types.h | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/i386/i386/apm.c b/sys/arch/i386/i386/apm.c index 018185e8734..80abd4408f6 100644 --- a/sys/arch/i386/i386/apm.c +++ b/sys/arch/i386/i386/apm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apm.c,v 1.131 2023/06/22 13:18:02 claudio Exp $ */ +/* $OpenBSD: apm.c,v 1.132 2023/07/02 19:02:27 cheloha Exp $ */ /*- * Copyright (c) 1998-2001 Michael Shalayeff. All rights reserved. @@ -265,10 +265,8 @@ apm_suspend(int state) rtcstart(); /* in i8254 mode, rtc is profclock */ inittodr(gettime()); -#ifdef __HAVE_CLOCKINTR clockintr_cpu_init(NULL); clockintr_trigger(); -#endif config_suspend_all(DVACT_RESUME); cold = 0; diff --git a/sys/arch/i386/include/_types.h b/sys/arch/i386/include/_types.h index 2ccf99a07c5..d879b02fee2 100644 --- a/sys/arch/i386/include/_types.h +++ b/sys/arch/i386/include/_types.h @@ -1,4 +1,4 @@ -/* $OpenBSD: _types.h,v 1.24 2022/12/06 01:56:44 cheloha Exp $ */ +/* $OpenBSD: _types.h,v 1.25 2023/07/02 19:02:27 cheloha Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -35,8 +35,6 @@ #ifndef _MACHINE__TYPES_H_ #define _MACHINE__TYPES_H_ -#define __HAVE_CLOCKINTR - /* * _ALIGN(p) rounds p (pointer or byte index) up to a correctly-aligned * value for all data types (int, long, ...). The result is an |