]> git.baikalelectronics.ru Git - kernel.git/commit
kernel: dma-contiguous: mark CMA parameters __initdata/__initconst
authorShyam Saini <mayhs11saini@gmail.com>
Sun, 20 Oct 2019 05:03:22 +0000 (10:33 +0530)
committerChristoph Hellwig <hch@lst.de>
Wed, 30 Oct 2019 18:10:45 +0000 (11:10 -0700)
commit3ea10603ed557a5c9a66a3be5d7180c61131df58
tree7826d7d60feb69c603d443732532f3e4bbbbe468
parentd5e250b1b6229332ac275a471476967e29163e1c
kernel: dma-contiguous: mark CMA parameters __initdata/__initconst

These parameters are only referenced by __init routine calls during
early boot so they should be marked as __initdata and __initconst
accordingly.

Signed-off-by: Shyam Saini <mayhs11saini@gmail.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
kernel/dma/contiguous.c