PPC: Bump MPIC up to 32 supported CPUs
authorAlexander Graf <agraf@suse.de>
Wed, 20 Jul 2011 23:39:46 +0000 (01:39 +0200)
committerAlexander Graf <agraf@suse.de>
Thu, 6 Oct 2011 07:43:33 +0000 (09:43 +0200)
commitbbc5842211cdd90103cfe52f2ca24afac880694f
treec06a416d4efccc8856edc088c5b34661ee388e7b
parent0d33defbe3e75db75599c52607da6fc3b4ce0f25
PPC: Bump MPIC up to 32 supported CPUs

The MPIC emulation is now capable of handling up to 32 CPUs. Reflect that in
the code exporting the numbers out and fix an integer overflow while at it.

Signed-off-by: Alexander Graf <agraf@suse.de>
---

v1 -> v2:

  - Max cpus is 15 due to cINT routing
  - Report nb_cpus not MAX_CPUS in MPIC capabilities
hw/openpic.c