diff options
Diffstat (limited to 'sys/arch/sgi')
-rw-r--r-- | sys/arch/sgi/include/param.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/sgi/include/param.h b/sys/arch/sgi/include/param.h index 14b18d3affd..fd4951f97f6 100644 --- a/sys/arch/sgi/include/param.h +++ b/sys/arch/sgi/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.5 2009/12/12 20:08:08 miod Exp $ */ +/* $OpenBSD: param.h,v 1.6 2012/03/19 19:11:26 miod Exp $ */ /* * Copyright (c) 2003 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -40,10 +40,12 @@ #define MID_MACHINE MID_MIPS64 /* None but has to be defined */ #ifdef _KERNEL -#if defined(CPU_R10000) && !defined(CPU_R5000) && !defined(CPU_RM7000) -#define PAGE_SHIFT 14 -#else +#ifndef PAGE_SHIFT +#if defined(CPU_R5000) || defined(CPU_RM7000) #define PAGE_SHIFT 12 +#else +#define PAGE_SHIFT 14 +#endif #endif #endif /* _KERNEL */ |