projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'intelfb-patches' of master.kernel.org:/pub/scm/linux/kernel/git/airlied...
[powerpc.git]
/
arch
/
x86_64
/
kernel
/
pci-calgary.c
diff --git
a/arch/x86_64/kernel/pci-calgary.c
b/arch/x86_64/kernel/pci-calgary.c
index
466588f
..
cfb09b0
100644
(file)
--- a/
arch/x86_64/kernel/pci-calgary.c
+++ b/
arch/x86_64/kernel/pci-calgary.c
@@
-924,6
+924,9
@@
void __init detect_calgary(void)
if (swiotlb || no_iommu || iommu_detected)
return;
+ if (!early_pci_allowed())
+ return;
+
specified_table_size = determine_tce_table_size(end_pfn * PAGE_SIZE);
for (bus = 0; bus < MAX_PHB_BUS_NUM; bus++) {