summary refs log tree commit diff stats
path: root/hw/spapr.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2011-04-01 15:15:14 +1100
committerAlexander Graf <agraf@suse.de>2011-04-01 18:34:55 +0200
commit8500e3a91292f253002783da267f3b08aead86c1 (patch)
tree8f75bfb98b887f439e0d7c55b5aedc7894ec839c /hw/spapr.c
parenteaabeef2688cdc7da462e9389fce64b1178de8ce (diff)
downloadfocaccia-qemu-8500e3a91292f253002783da267f3b08aead86c1.tar.gz
focaccia-qemu-8500e3a91292f253002783da267f3b08aead86c1.zip
Clean up slb_lookup() function
The slb_lookup() function, used in the ppc translation path returns a
number of slb entry fields in reference parameters.  However, only one
of the two callers of slb_lookup() actually wants this information.

This patch, therefore, makes slb_lookup() return a simple pointer to the
located SLB entry (or NULL), and the caller which needs the fields can
extract them itself.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/spapr.c')
0 files changed, 0 insertions, 0 deletions