projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72d0380
)
x86: Add iommu_init to x86_init_ops, fix build
author
Ingo Molnar
<
[email protected]
>
Tue, 10 Nov 2009 13:37:58 +0000
(14:37 +0100)
committer
Ingo Molnar
<
[email protected]
>
Tue, 10 Nov 2009 13:37:58 +0000
(14:37 +0100)
Most of the time x86_init.h is included in pci-dma.c - but not always,
leading to this rare build failure:
arch/x86/kernel/pci-dma.c:296: error: 'x86_init' undeclared (first use in this function)
So include asm/x86_init.h explicitly.
Cc: FUJITA Tomonori <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
LKML-Reference: <
1257849980
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
arch/x86/kernel/pci-dma.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/pci-dma.c
b/arch/x86/kernel/pci-dma.c
index 63eebee80e754e7383319b8dc4a3d9ec37ec5e80..f79870e892666f75ca52bf09a66f0e3c4456634f 100644
(file)
--- a/
arch/x86/kernel/pci-dma.c
+++ b/
arch/x86/kernel/pci-dma.c
@@
-11,6
+11,7
@@
#include <asm/gart.h>
#include <asm/calgary.h>
#include <asm/amd_iommu.h>
+#include <asm/x86_init.h>
static int forbid_dac __read_mostly;