Skip to content
Snippets Groups Projects
Commit 2c88b098 authored by Cédric Le Goater's avatar Cédric Le Goater Committed by David Gibson
Browse files

spapr_pci: factorize the use of SPAPR_MACHINE_GET_CLASS()


It should save us some CPU cycles as these routines perform a lot of
checks.

Signed-off-by: default avatarCédric Le Goater <clg@kaod.org>
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent 74887ed9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment