summaryrefslogtreecommitdiff
path: root/kernel/dma/contiguous.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2025-05-04 10:25:52 +0200
committerIngo Molnar <mingo@kernel.org>2025-05-04 10:25:52 +0200
commita78701fe4befbe3c1720f84c893d5565edbbd11b (patch)
treeb7f461c86dd6306bdabe3d5f8575a73f73f3304d /kernel/dma/contiguous.c
parentde8304c319bc020ef79d109909ad40e944d82c82 (diff)
parentb4432656b36e5cc1d50a1f2dc15357543add530e (diff)
Merge tag 'v6.15-rc4' into x86/fpu, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/dma/contiguous.c')
-rw-r--r--kernel/dma/contiguous.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/dma/contiguous.c b/kernel/dma/contiguous.c
index 055da410ac71..8df0dfaaca18 100644
--- a/kernel/dma/contiguous.c
+++ b/kernel/dma/contiguous.c
@@ -64,8 +64,7 @@ struct cma *dma_contiguous_default_area;
* Users, who want to set the size of global CMA area for their system
* should use cma= kernel parameter.
*/
-static const phys_addr_t size_bytes __initconst =
- (phys_addr_t)CMA_SIZE_MBYTES * SZ_1M;
+#define size_bytes ((phys_addr_t)CMA_SIZE_MBYTES * SZ_1M)
static phys_addr_t size_cmdline __initdata = -1;
static phys_addr_t base_cmdline __initdata;
static phys_addr_t limit_cmdline __initdata;