projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d9ac16
)
ARM: 8697/1: dma-mapping: Do not pass data to gen_pool_set_algo()
author
Vladimir Murzin
<vladimir.murzin@arm.com>
Mon, 25 Sep 2017 09:25:53 +0000
(10:25 +0100)
committer
Russell King
<rmk+kernel@armlinux.org.uk>
Thu, 28 Sep 2017 10:13:04 +0000
(11:13 +0100)
gen_pool_first_fit_order_align() does not make use of additional data,
so pass plain NULL there.
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/mm/dma-mapping.c
patch
|
blob
|
history
diff --git
a/arch/arm/mm/dma-mapping.c
b/arch/arm/mm/dma-mapping.c
index
fcf1473
..
785606e
100644
(file)
--- a/
arch/arm/mm/dma-mapping.c
+++ b/
arch/arm/mm/dma-mapping.c
@@
-443,7
+443,7
@@
static int __init atomic_pool_init(void)
gen_pool_set_algo(atomic_pool,
gen_pool_first_fit_order_align,
-
(void *)PAGE_SHIFT
);
+
NULL
);
pr_info("DMA: preallocated %zu KiB pool for atomic coherent allocations\n",
atomic_pool_size / 1024);
return 0;