xen/evtchn: dynamically allocate port_user array
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 18 Sep 2009 23:36:58 +0000 (16:36 -0700)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Sat, 19 Sep 2009 00:13:17 +0000 (17:13 -0700)
commit93afe0b75ef3675ca05320919a57de8b9bbb159c
tree7b2e5eb82d4f8e7c836a21a1aaf1aa2c0342488b
parente3cc067b0a79d3a3672bfe7cfba12f2e8ae56039
xen/evtchn: dynamically allocate port_user array

We only need the array when running as a Xen domain, so dynamically
allocate it as needed to save on bss space.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
drivers/xen/evtchn.c