diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2005-11-28 16:56:33 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2005-11-28 16:56:33 +0000 |
commit | b47370ad400d0b9be289bc1cf76230aa90e8abde (patch) | |
tree | 21ce6b380125676cc6c4688889035a6d4faac66a /sys/arch/amd64/include | |
parent | 8bdb3eb3e40cede7f693a8754135a664a0072ca5 (diff) |
- consistently use x86_round_pdr() allowing us to remove the superfluous
round_pdr() macro
- while there remove two more unused Mach macros
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r-- | sys/arch/amd64/include/param.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/amd64/include/param.h b/sys/arch/amd64/include/param.h index 40a703b9693..1927ee94241 100644 --- a/sys/arch/amd64/include/param.h +++ b/sys/arch/amd64/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.8 2005/10/26 18:46:07 martin Exp $ */ +/* $OpenBSD: param.h,v 1.9 2005/11/28 16:56:32 martin Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -151,7 +151,3 @@ #define x86_round_pdr(x) \ ((((unsigned long)(x)) + (NBPD_L2 - 1)) & ~(NBPD_L2 - 1)) #define x86_trunc_pdr(x) ((unsigned long)(x) & ~(NBPD_L2 - 1)) -#define x86_btod(x) ((unsigned long)(x) >> L2_SHIFT) -#define x86_dtob(x) ((unsigned long)(x) << L2_SHIFT) - -#define round_pdr(x) x86_round_pdr(x) |