diff options
Diffstat (limited to 'sys/alpha/include/param.h')
-rw-r--r-- | sys/alpha/include/param.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/alpha/include/param.h b/sys/alpha/include/param.h index c07ff73..8bed423 100644 --- a/sys/alpha/include/param.h +++ b/sys/alpha/include/param.h @@ -1,4 +1,4 @@ -/* $Id: param.h,v 1.6 1998/07/30 08:12:14 dfr Exp $ */ +/* $Id: param.h,v 1.7 1998/09/09 01:21:25 jdp Exp $ */ /* From: NetBSD: param.h,v 1.20 1997/09/19 13:52:53 leo Exp */ /* @@ -167,6 +167,8 @@ #define alpha_btop(x) ((unsigned long)(x) >> PAGE_SHIFT) #define alpha_ptob(x) ((unsigned long)(x) << PAGE_SHIFT) +#define pgtok(x) ((x) * (PAGE_SIZE / 1024)) + #ifdef _KERNEL #ifndef _LOCORE |