projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53faf29
)
[PARISC] Fix ccio_request_resource when CONFIG_IOMMU_CCIO is not defined
author
Ryan Bradetich
<rbrad@parisc-linux.org>
Thu, 26 Oct 2006 01:27:18 +0000
(
01:27
+0000)
committer
Kyle McMartin
<kyle@ubuntu.com>
Fri, 8 Dec 2006 05:33:59 +0000
(
00:33
-0500)
This patch fixes the ccio_request_resource to work properly when
the CONFIG_IOMMU_CCIO is not defined. This patch was tested on
my E35.
Signed-off-by: Ryan Bradetich <rbrad@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
include/asm-parisc/dma-mapping.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-parisc/dma-mapping.h
b/include/asm-parisc/dma-mapping.h
index 66f0b408c66907cd90b42ee8861507760ac5b67d..c6c0e9ff6bdea3eeb623893fb2d8d3a078d893f9 100644
(file)
--- a/
include/asm-parisc/dma-mapping.h
+++ b/
include/asm-parisc/dma-mapping.h
@@
-236,7
+236,7
@@
int ccio_allocate_resource(const struct parisc_device *dev,
unsigned long min, unsigned long max, unsigned long align);
#else /* !CONFIG_IOMMU_CCIO */
#define ccio_get_iommu(dev) NULL
-#define ccio_request_resource(dev, res)
reques
t_resource(&iomem_resource, res)
+#define ccio_request_resource(dev, res)
inser
t_resource(&iomem_resource, res)
#define ccio_allocate_resource(dev, res, size, min, max, align) \
allocate_resource(&iomem_resource, res, size, min, max, \
align, NULL, NULL)