aboutsummaryrefslogtreecommitdiffstats
path: root/arch/tile/kernel/smp.c
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@mellanox.com>2016-11-07 14:19:10 -0500
committerChris Metcalf <cmetcalf@mellanox.com>2016-12-16 15:32:29 -0500
commit14e73e78ee982710292248536aa84cba41e974f4 (patch)
treedfd1b0b4ef6b0f92b79aae2ae4496197f88c32d4 /arch/tile/kernel/smp.c
parenttile: migrate exception table users off module.h and onto extable.h (diff)
downloadlinux-dev-14e73e78ee982710292248536aa84cba41e974f4.tar.xz
linux-dev-14e73e78ee982710292248536aa84cba41e974f4.zip
tile: use __ro_after_init instead of tile-specific __write_once
The semantics of the old tile __write_once are the same as the newer generic __ro_after_init, so rename them all and get rid of the tile-specific version. This does not enable actual support for __ro_after_init, which had been dropped from the tile architecture before the initial upstreaming was done, since we had at that time switched to using 16MB huge pages to map the kernel. Signed-off-by: Chris Metcalf <cmetcalf@mellanox.com>
Diffstat (limited to 'arch/tile/kernel/smp.c')
-rw-r--r--arch/tile/kernel/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/kernel/smp.c b/arch/tile/kernel/smp.c
index 07e3ff5cc740..94a62e1197ce 100644
--- a/arch/tile/kernel/smp.c
+++ b/arch/tile/kernel/smp.c
@@ -27,7 +27,7 @@
* We write to width and height with a single store in head_NN.S,
* so make the variable aligned to "long".
*/
-HV_Topology smp_topology __write_once __aligned(sizeof(long));
+HV_Topology smp_topology __ro_after_init __aligned(sizeof(long));
EXPORT_SYMBOL(smp_topology);
#if CHIP_HAS_IPI()