]> git.baikalelectronics.ru Git - kernel.git/commit
tile: use __ro_after_init instead of tile-specific __write_once
authorChris Metcalf <cmetcalf@mellanox.com>
Mon, 7 Nov 2016 19:19:10 +0000 (14:19 -0500)
committerChris Metcalf <cmetcalf@mellanox.com>
Fri, 16 Dec 2016 20:32:29 +0000 (15:32 -0500)
commita0dca25a40b85d5318945452aca67fa27be29ec2
treedfd1b0b4ef6b0f92b79aae2ae4496197f88c32d4
parentb1089b5991655c0531e324eec5fd95de015d4cfa
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>
arch/tile/include/asm/cache.h
arch/tile/include/asm/sections.h
arch/tile/kernel/pci.c
arch/tile/kernel/setup.c
arch/tile/kernel/smp.c
arch/tile/kernel/time.c
arch/tile/mm/homecache.c
arch/tile/mm/init.c