diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-03-09 23:05:14 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-03-09 23:05:14 +0000 |
commit | 39cb247af46536e5a7d0a097f52832fc60d9905f (patch) | |
tree | d6c28e376fbff53b3481581fc7b7e15255e6297c /sys/arch/amd64/include/cpu.h | |
parent | f0ae6fb0bf466588839c30aa7f844383b0350d74 (diff) |
simplify the delay stuff
Diffstat (limited to 'sys/arch/amd64/include/cpu.h')
-rw-r--r-- | sys/arch/amd64/include/cpu.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/arch/amd64/include/cpu.h b/sys/arch/amd64/include/cpu.h index 953f2da6998..cc688f39aa6 100644 --- a/sys/arch/amd64/include/cpu.h +++ b/sys/arch/amd64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.5 2004/02/28 18:12:21 deraadt Exp $ */ +/* $OpenBSD: cpu.h,v 1.6 2004/03/09 23:05:13 deraadt Exp $ */ /* $NetBSD: cpu.h,v 1.1 2003/04/26 18:39:39 fvdl Exp $ */ /*- @@ -246,13 +246,11 @@ extern u_int32_t cpus_attached; /* * We need a machine-independent name for this. */ -extern void (*delay_func)(int); +extern void delay(int); struct timeval; -extern void (*microtime_func)(struct timeval *); +extern void microtime(struct timeval *); -#define DELAY(x) (*delay_func)(x) -#define delay(x) (*delay_func)(x) -#define microtime(tv) (*microtime_func)(tv) +#define DELAY(x) delay(x) /* |