diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-11-20 14:23:59 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-11-20 14:23:59 +0000 |
commit | 39bef5bcf02a72fc5552dd20c61ec7ea65c85054 (patch) | |
tree | 7d17f0176b28d6e143ed362d3a37cf9da5f3ec98 /xen/Rules.mk | |
parent | f0f1915d273490f2cdd698932d6592f4024b9b75 (diff) | |
download | xen-39bef5bcf02a72fc5552dd20c61ec7ea65c85054.tar.gz xen-39bef5bcf02a72fc5552dd20c61ec7ea65c85054.tar.bz2 xen-39bef5bcf02a72fc5552dd20c61ec7ea65c85054.zip |
x86: make NR_IRQS build-time configurable
While keeping the NR_IRQS default at 256 here, I think it would be a
good thing to set it to a higher value to make sure no new mixing of
irq and vector spaces slip in.
Tested with NR_IRQS forced to 1024.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/Rules.mk')
-rw-r--r-- | xen/Rules.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/Rules.mk b/xen/Rules.mk index 36292c92e5..43a4f63249 100644 --- a/xen/Rules.mk +++ b/xen/Rules.mk @@ -69,6 +69,9 @@ CFLAGS-$(frame_pointer) += -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER ifneq ($(max_phys_cpus),) CFLAGS-y += -DMAX_PHYS_CPUS=$(max_phys_cpus) endif +ifneq ($(max_phys_irqs),) +CFLAGS-y += -DMAX_PHYS_IRQS=$(max_phys_irqs) +endif AFLAGS-y += -D__ASSEMBLY__ |