diff options
author | Shuai Xue <xueshuai@linux.alibaba.com> | 2023-12-08 10:56:50 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2023-12-13 13:35:41 +0000 |
commit | ac16087134b837d42b75bb1c741070b6c142f258 (patch) | |
tree | e075f97329c7dca7a2dd883818f3bb3a4274dec9 /scripts/gdb/linux/cpus.py | |
parent | ad6534c626fedd818718d76c36d69c7d8e7b61cc (diff) |
PCI: Move pci_clear_and_set_dword() helper to PCI header
The clear and set pattern is commonly used for accessing PCI config,
move the helper pci_clear_and_set_dword() from aspm.c into PCI header.
In addition, rename to pci_clear_and_set_config_dword() to retain the
"config" information and match the other accessors.
No functional change intended.
Signed-off-by: Shuai Xue <xueshuai@linux.alibaba.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Ilkka Koskinen <ilkka@os.amperecomputing.com>
Link: https://lore.kernel.org/r/20231208025652.87192-4-xueshuai@linux.alibaba.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/cpus.py')
0 files changed, 0 insertions, 0 deletions