diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-03-25 19:59:23 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-03-25 19:59:23 +0000 |
commit | 4084ca241b66d8da05facd3157fb0deb445ec413 (patch) | |
tree | 752090ca43bb4042348e41c6da862b5e5e511d0d /sys/arch | |
parent | b96d813b36c55ff0126d0d4fa5cb198084fa2d5d (diff) |
PGSHIFT -> PAGE_SHIFT
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/hppa/include/cpufunc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa/include/cpufunc.h b/sys/arch/hppa/include/cpufunc.h index e91cdd9680f..9c7efe2281e 100644 --- a/sys/arch/hppa/include/cpufunc.h +++ b/sys/arch/hppa/include/cpufunc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpufunc.h,v 1.27 2005/04/07 00:19:28 mickey Exp $ */ +/* $OpenBSD: cpufunc.h,v 1.28 2013/03/25 19:59:22 deraadt Exp $ */ /* * Copyright (c) 1998-2004 Michael Shalayeff @@ -60,8 +60,8 @@ #include <machine/psl.h> #include <machine/pte.h> -#define tlbbtop(b) ((b) >> (PGSHIFT - 5)) -#define tlbptob(p) ((p) << (PGSHIFT - 5)) +#define tlbbtop(b) ((b) >> (PAGE_SHIFT - 5)) +#define tlbptob(p) ((p) << (PAGE_SHIFT - 5)) #define hptbtop(b) ((b) >> 17) |