aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/include/asm/pnv-pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/pnv-pci.h b/arch/powerpc/include/asm/pnv-pci.h
index 17e89dd613e1..74b0b1e311b5 100644
--- a/arch/powerpc/include/asm/pnv-pci.h
+++ b/arch/powerpc/include/asm/pnv-pci.h
@@ -15,7 +15,7 @@
15#include <misc/cxl-base.h> 15#include <misc/cxl-base.h>
16#include <asm/opal-api.h> 16#include <asm/opal-api.h>
17 17
18#define PCI_SLOT_ID_PREFIX 0x8000000000000000 18#define PCI_SLOT_ID_PREFIX (1UL << 63)
19#define PCI_SLOT_ID(phb_id, bdfn) \ 19#define PCI_SLOT_ID(phb_id, bdfn) \
20 (PCI_SLOT_ID_PREFIX | ((uint64_t)(bdfn) << 16) | (phb_id)) 20 (PCI_SLOT_ID_PREFIX | ((uint64_t)(bdfn) << 16) | (phb_id))
21 21