ARM: 8698/1: dma-mapping: Mark atomic_pool as __ro_after_init
authorVladimir Murzin <vladimir.murzin@arm.com>
Mon, 25 Sep 2017 09:29:07 +0000 (10:29 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 28 Sep 2017 10:13:05 +0000 (11:13 +0100)
commitb337e1c40d3ea2d6f09228c4ff203f006abc9095
tree240f7bd82507164a2c167ce3b9412b44609ef964
parentacb624488df3073be4e6f3c0a86b155c40d63ab2
ARM: 8698/1: dma-mapping: Mark atomic_pool as __ro_after_init

atomic_pool is setup once while init stage and never changed after
that, so it is good candidate for __ro_after_init.

Since we are here mark atomic_pool_size with __init_data.

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