diff options
author | Guillem Jover <guillem@debian.org> | 2009-12-09 02:30:53 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-03-20 02:12:41 +0100 |
commit | ba54d8a07b20916b84df1d8159fb0b50f8f692b8 (patch) | |
tree | e0f32816f251bf659bfdf8ff706681b1a39f29df /i386/intel/pmap.h | |
parent | 735cf19fdebf4a3df886426a51cad78b7ef025f2 (diff) |
Use compiler defined __i386__ symbol instead of use defined i386
* i386/configfrag.ac (i386): Remove definition.
* i386/intel/pmap.c (pmap_update_interrupt): Rename i386 to __i386__.
* i386/intel/pmap.h: Likewise.
* kern/debug.c (Debugger): Likewise.
* kern/lock.c (simple_lock, simple_lock_try, db_show_all_slocks): Likewise.
Diffstat (limited to 'i386/intel/pmap.h')
-rw-r--r-- | i386/intel/pmap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i386/intel/pmap.h b/i386/intel/pmap.h index d2e3b29..2692aae 100644 --- a/i386/intel/pmap.h +++ b/i386/intel/pmap.h @@ -48,7 +48,7 @@ * Define the generic in terms of the specific */ -#if i386 +#if defined(__i386__) #define INTEL_PGBYTES I386_PGBYTES #define INTEL_PGSHIFT I386_PGSHIFT #define intel_btop(x) i386_btop(x) @@ -58,7 +58,7 @@ #define trunc_intel_to_vm(x) trunc_i386_to_vm(x) #define round_intel_to_vm(x) round_i386_to_vm(x) #define vm_to_intel(x) vm_to_i386(x) -#endif /* i386 */ +#endif /* __i386__ */ /* * i386/i486 Page Table Entry |