From: Erik van der Kouwe Date: Wed, 6 Jan 2010 08:46:33 +0000 (+0000) Subject: Fix brackets in kernel/arch/i386/include/archconst.h X-Git-Tag: v3.1.6~104 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/ddns-confgen.html?a=commitdiff_plain;h=38ed5b2685b461e2d48d8192c972811263b3cb71;p=minix.git Fix brackets in kernel/arch/i386/include/archconst.h --- diff --git a/kernel/arch/i386/include/archconst.h b/kernel/arch/i386/include/archconst.h index 9cbaf5e51..12e8e5136 100644 --- a/kernel/arch/i386/include/archconst.h +++ b/kernel/arch/i386/include/archconst.h @@ -145,7 +145,7 @@ #define IOPL_MASK 0x003000 #define vir2phys(vir) ((phys_bytes)((kinfo.data_base + (vir_bytes) (vir)))) -#define phys2vir(ph) (((vir_bytes)(((vir_bytes) (ph) - kinfo.data_base))) +#define phys2vir(ph) ((vir_bytes)((vir_bytes) (ph) - kinfo.data_base)) #define INTEL_CPUID_GEN_EBX 0x756e6547 /* ASCII value of "Genu" */ #define INTEL_CPUID_GEN_EDX 0x49656e69 /* ASCII value of "ineI" */