aboutsummaryrefslogtreecommitdiff
path: root/i386/i386at/model_dep.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-01-31 20:59:25 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-01-31 20:59:25 +0100
commitd77225eb8bcf908d21b4d6b2a731d5701c4fc7a8 (patch)
treee110d378f34f909ab5871bf1fc7ccc3ea899f677 /i386/i386at/model_dep.h
parent422ab47d25576587600d093297512d8b6cbec890 (diff)
downloadgnumach-d77225eb8bcf908d21b4d6b2a731d5701c4fc7a8.tar.gz
gnumach-d77225eb8bcf908d21b4d6b2a731d5701c4fc7a8.tar.bz2
gnumach-d77225eb8bcf908d21b4d6b2a731d5701c4fc7a8.zip
Fix other confusions between KERNEL_STACK_SIZE and INTSTACK_SIZE
Diffstat (limited to 'i386/i386at/model_dep.h')
-rw-r--r--i386/i386at/model_dep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386at/model_dep.h b/i386/i386at/model_dep.h
index a972695f..df327ca2 100644
--- a/i386/i386at/model_dep.h
+++ b/i386/i386at/model_dep.h
@@ -28,7 +28,7 @@
extern vm_offset_t int_stack_top[NCPUS], int_stack_base[NCPUS];
/* Check whether P points to the interrupt stack. */
-#define ON_INT_STACK(P) (((P) & ~(KERNEL_STACK_SIZE-1)) == int_stack_base[0])
+#define ON_INT_STACK(P) (((P) & ~(INTSTACK_SIZE-1)) == int_stack_base[0])
extern vm_offset_t timemmap(dev_t dev, vm_offset_t off, vm_prot_t prot);