From 22aae893cbf2dc1d2a70f6011acb216af221538c Mon Sep 17 00:00:00 2001 From: Somasundaram Krishnasamy Date: Thu, 11 May 2017 17:39:39 -0700 Subject: [PATCH] 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 Reviewed-by: Jack Vogel --- arch/x86/platform/uv/tlb_uv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/platform/uv/tlb_uv.c b/arch/x86/platform/uv/tlb_uv.c index 1b49fae9ec1c..e4b6d8f41705 100644 --- a/arch/x86/platform/uv/tlb_uv.c +++ b/arch/x86/platform/uv/tlb_uv.c @@ -24,7 +24,7 @@ #include #include -static struct bau_operations ops __ro_after_init; +static struct bau_operations ops; /* timeouts in nanoseconds (indexed by UVH_AGING_PRESCALE_SEL urgency7 30:28) */ static int timeout_base_ns[] = { -- 2.50.1