]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/platform/uv/BAU: Remove __ro_after_init declaration
authorSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Fri, 12 May 2017 00:39:39 +0000 (17:39 -0700)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Thu, 18 May 2017 18:41:59 +0000 (11:41 -0700)
commit22aae893cbf2dc1d2a70f6011acb216af221538c
treeb46b9c16d45d351b65cd8ca4a0da737005dfe5d2
parentf90bc72ea2bcda0ac8d1f35918002a92dcc08f49
x86/platform/uv/BAU: Remove  __ro_after_init declaration

Orabug: 25920237

The upstream commit 8e3b21b6dbf0 (x86/platform/uv/BAU: Cleanup
bau_operations declaration and instances) has declared the
bau_operations ops instance with __ro_after_init. It can be safely
removed now as "ops" is an already existing variable and also the code that
supports this "read-only after init" feature is not pulled in yet.

The upstream commit c74ba8b3480d (arch: Introduce post-init read-only
memory) and several of its associated commits introduce this feature
from 4.6 kernel. When this feature is pulled in, this commit can be
reverted to make "bau_operations ops" read-only.

Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
arch/x86/platform/uv/tlb_uv.c