diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-04-13 18:48:39 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-04-13 18:48:39 +0000 |
commit | 8359a21404ea2d54efab7d672ceb2d364b054ebf (patch) | |
tree | 94dfd0f14a587c72b298e275f0aea8ef513dce03 /sys/arch/powerpc | |
parent | aeed09682d670db93b1f23228d1df88ae910fdc3 (diff) |
Timecounters for macppc. As clean and simple as sparc64. Uses the %tb
special register.
ok drahn@
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r-- | sys/arch/powerpc/include/_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/_types.h b/sys/arch/powerpc/include/_types.h index 2704dabf203..b0d801a32f6 100644 --- a/sys/arch/powerpc/include/_types.h +++ b/sys/arch/powerpc/include/_types.h @@ -1,4 +1,4 @@ -/* $OpenBSD: _types.h,v 1.4 2007/03/22 19:26:28 kettenis Exp $ */ +/* $OpenBSD: _types.h,v 1.5 2007/04/13 18:48:38 kettenis Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -118,5 +118,6 @@ typedef void * __wctype_t; /* Feature test macros */ #define __HAVE_CPUINFO #define __HAVE_MUTEX +#define __HAVE_TIMECOUNTER #endif /* _POWERPC__TYPES_H_ */ |