diff options
Diffstat (limited to 'sys/arch/arc/include/pte.h')
-rw-r--r-- | sys/arch/arc/include/pte.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/arc/include/pte.h b/sys/arch/arc/include/pte.h index a5e6ee48054..5ef6c626fd4 100644 --- a/sys/arch/arc/include/pte.h +++ b/sys/arch/arc/include/pte.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pte.h,v 1.1 1996/06/24 09:07:18 pefo Exp $ */ +/* $OpenBSD: pte.h,v 1.2 1996/09/04 21:18:24 pefo Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -106,6 +106,7 @@ typedef union pt_entry { #define PG_FRAME 0x3fffffc0 #define PG_SHIFT 6 #define vad_to_pfn(x) (((unsigned)(x) >> PG_SHIFT) & PG_FRAME) +#define vad_to_pfn64(x) (((quad_t)(x) >> PG_SHIFT) & PG_FRAME) #define pfn_to_vad(x) (((x) & PG_FRAME) << PG_SHIFT) #define vad_to_vpn(x) ((unsigned)(x) & PG_SVPN) #define vpn_to_vad(x) ((x) & PG_SVPN) |