aboutsummaryrefslogtreecommitdiffstats
path: root/include/xen
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2010-06-07 16:28:49 -0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2010-10-18 10:41:42 -0400
commitb21ddbf50386d10cdd60d8f8e744cff0496d2552 (patch)
treefdd4a7ef7010262e22ad80797ac79578d63f3858 /include/xen
parentxen: identity map gsi->irqs (diff)
downloadlinux-dev-b21ddbf50386d10cdd60d8f8e744cff0496d2552.tar.xz
linux-dev-b21ddbf50386d10cdd60d8f8e744cff0496d2552.zip
xen: dynamically allocate irq & event structures
Dynamically allocate the irq_info and evtchn_to_irq arrays, so that 1) the irq_info array scales to the actual number of possible irqs, and 2) we don't needlessly increase the static size of the kernel when we aren't running under Xen. Derived on patch from Mike Travis <travis@sgi.com>. [Impact: reduce memory usage ] [v2: Conflict in drivers/xen/events.c: Replaced alloc_bootmen with kcalloc ] Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include/xen')
0 files changed, 0 insertions, 0 deletions