Greg Kurz 4fa28f2390 ppc/pnv: Instantiate cores separately
Allocating a big void * array to store multiple objects isn't a
recommended practice for various reasons:
 - no compile time type checking
 - potential dangling pointers if a reference on an individual is
  taken and the array is freed later on
 - duplicate boiler plate everywhere the array is browsed through

Allocate an array of pointers and populate it instead.

Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20191125065820.927-4-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2019-12-17 10:39:47 +11:00
..
2019-12-16 13:04:34 +00:00
2019-12-16 13:04:46 +01:00
2019-12-16 13:04:46 +01:00
2019-12-16 10:46:34 +00:00
2019-12-14 10:25:50 +01:00
2019-12-16 13:16:15 +01:00
2019-12-16 10:46:34 +00:00
2019-12-16 14:07:56 +00:00
2019-12-17 10:39:47 +11:00
2019-12-14 10:22:38 +01:00