diff options
author | Chris Metcalf <cmetcalf@mellanox.com> | 2016-11-07 20:19:10 +0100 |
---|---|---|
committer | Chris Metcalf <cmetcalf@mellanox.com> | 2016-12-16 21:32:29 +0100 |
commit | 14e73e78ee982710292248536aa84cba41e974f4 (patch) | |
tree | dfd1b0b4ef6b0f92b79aae2ae4496197f88c32d4 /arch/tile/mm/homecache.c | |
parent | tile: migrate exception table users off module.h and onto extable.h (diff) | |
download | linux-14e73e78ee982710292248536aa84cba41e974f4.tar.xz linux-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/mm/homecache.c')
-rw-r--r-- | arch/tile/mm/homecache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/mm/homecache.c b/arch/tile/mm/homecache.c index 40ca30a9fee3..b51cc28acd0a 100644 --- a/arch/tile/mm/homecache.c +++ b/arch/tile/mm/homecache.c @@ -47,7 +47,7 @@ * The noallocl2 option suppresses all use of the L2 cache to cache * locally from a remote home. */ -static int __write_once noallocl2; +static int __ro_after_init noallocl2; static int __init set_noallocl2(char *str) { noallocl2 = 1; |