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>
このコミットが含まれているのは:
@@ -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()
|
||||
|
新しいイシューから参照
ユーザーをブロックする