diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2011-04-01 15:15:14 +1100 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2011-04-01 18:34:55 +0200 |
commit | 8500e3a91292f253002783da267f3b08aead86c1 (patch) | |
tree | 8f75bfb98b887f439e0d7c55b5aedc7894ec839c /qemu-common.h | |
parent | eaabeef2688cdc7da462e9389fce64b1178de8ce (diff) |
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 'qemu-common.h')
0 files changed, 0 insertions, 0 deletions