summaryrefslogtreecommitdiff
path: root/i386/intel
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-10-13 14:32:32 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:45 +0200
commite0b9f47ef2218dcefd5c53055cf3dd9fde6e4dff (patch)
tree2dddde5a350fa8ee577f2b9ed2974d1385f2f719 /i386/intel
parent8a44559ad7b3248526707b4af9b04c160aed2d7b (diff)
2006-10-13 Thomas Schwinge <tschwinge@gnu.org>
* 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.
Diffstat (limited to 'i386/intel')
-rw-r--r--i386/intel/pmap.h8
1 files changed, 4 insertions, 4 deletions
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 <kern/zalloc.h>
#include <kern/lock.h>
@@ -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_ */