kvm/ppc/mpic: fix mmio region lists when multiple guests used
authorScott Wood <scottwood@freescale.com>
Tue, 30 Apr 2013 14:57:13 +0000 (14:57 +0000)
committerAlexander Graf <agraf@suse.de>
Thu, 2 May 2013 13:28:33 +0000 (15:28 +0200)
commit398d87836e3074ff630805b77d024a88ac288606
tree17b3b58b140472594c83713bb60f3c9c01ce789c
parent121ac4540f606026722ebb1bae68d9c43e518db9
kvm/ppc/mpic: fix mmio region lists when multiple guests used

Keeping a linked list of statically defined objects doesn't work
very well when we have multiple guests. :-P

Switch to an array of constant objects.  This fixes a hang when
multiple guests are used.

Signed-off-by: Scott Wood <scottwood@freescale.com>
[agraf: remove struct list_head from mem_reg]
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/mpic.c