diff options
| author | Jan Beulich | 2015-06-02 17:07:01 +0200 |
|---|---|---|
| committer | Stefano Stabellini | 2015-06-02 17:07:01 +0200 |
| commit | d61bb2482dc0c7426f451f23ba7e2748ae2cc06d (patch) | |
| tree | 6d1c5b871804c0dd3d92d764ef4acb0cea0dfe20 /scripts/checkpatch.pl | |
| parent | xen/MSI: don't open-code pass-through of enable bit modifications (diff) | |
| download | qemu-d61bb2482dc0c7426f451f23ba7e2748ae2cc06d.tar.gz qemu-d61bb2482dc0c7426f451f23ba7e2748ae2cc06d.tar.xz qemu-d61bb2482dc0c7426f451f23ba7e2748ae2cc06d.zip | |
xen/pt: consolidate PM capability emu_mask
There's no point in xen_pt_pmcsr_reg_{read,write}() each ORing
PCI_PM_CTRL_STATE_MASK and PCI_PM_CTRL_NO_SOFT_RESET into a local
emu_mask variable - we can have the same effect by setting the field
descriptor's emu_mask member suitably right away. Note that
xen_pt_pmcsr_reg_write() is being retained in order to allow later
patches to be less intrusive.
This is a preparatory patch for XSA-131.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
