From e0b9f47ef2218dcefd5c53055cf3dd9fde6e4dff Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Fri, 13 Oct 2006 14:32:32 +0000 Subject: 2006-10-13 Thomas Schwinge * Makerules.in (ASFLAGS): Don't define `ASSEMBLER'. * i386/i386/cpu_number.h: Check for `__ASSEMBLER__' instead of `ASSEMBLER'. * i386/i386/debug.h: Likewise. * i386/i386/ipl.h: Likewise. * i386/i386/ldt.h: Likewise. * i386/i386/proc_reg.h: Likewise. * i386/i386/seg.h: Likewise. * i386/i386/trap.h: Likewise. * i386/include/mach/i386/kern_return.h: Likewise. * i386/include/mach/i386/vm_types.h: Likewise. * i386/intel/pmap.h: Likewise. * include/mach/boolean.h: Likewise. * include/mach/boot.h: Likewise. * include/mach/error.h: Likewise. * kern/syscall_emulation.h: Likewise. --- i386/intel/pmap.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'i386/intel') diff --git a/i386/intel/pmap.h b/i386/intel/pmap.h index a638f22..1ea84bf 100644 --- a/i386/intel/pmap.h +++ b/i386/intel/pmap.h @@ -35,7 +35,7 @@ #ifndef _PMAP_MACHINE_ #define _PMAP_MACHINE_ 1 -#ifndef ASSEMBLER +#ifndef __ASSEMBLER__ #include #include @@ -77,7 +77,7 @@ typedef unsigned int pt_entry_t; #define PT_ENTRY_NULL ((pt_entry_t *) 0) -#endif /* ASSEMBLER */ +#endif /* __ASSEMBLER__ */ #define INTEL_OFFMASK 0xfff /* offset within page */ #define PDESHIFT 22 /* page descriptor shift */ @@ -147,7 +147,7 @@ typedef unsigned int pt_entry_t; */ #define ptetokv(a) (phystokv(pte_to_pa(a))) -#ifndef ASSEMBLER +#ifndef __ASSEMBLER__ typedef volatile long cpu_set; /* set of CPUs - must be <= 32 */ /* changed by other processors */ @@ -396,6 +396,6 @@ pt_entry_t *pmap_pte(pmap_t pmap, vm_offset_t addr); #define pmap_attribute(pmap,addr,size,attr,value) \ (KERN_INVALID_ADDRESS) -#endif /* ASSEMBLER */ +#endif /* __ASSEMBLER__ */ #endif /* _PMAP_MACHINE_ */ -- cgit v1.2.3