target/ppc: cpu_init: Group registration of generic SPRs
authorFabiano Rosas <farosas@linux.ibm.com>
Fri, 18 Feb 2022 07:34:14 +0000 (08:34 +0100)
committerCédric Le Goater <clg@kaod.org>
Fri, 18 Feb 2022 07:34:14 +0000 (08:34 +0100)
commite78280a237ecfea0278c62cb503d12185a505189
tree749e99ee11be3b3cfd194073335482679b1c622e
parent363bd7d0d55466cd363bc2776ae6aa40070beb98
target/ppc: cpu_init: Group registration of generic SPRs

The top level init_proc calls register_generic_sprs but also registers
some other SPRs outside of that function. Let's group everything into
a single place.

Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20220216162426.1885923-4-farosas@linux.ibm.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
target/ppc/cpu_init.c