Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756441AbZLIHze (ORCPT ); Wed, 9 Dec 2009 02:55:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756374AbZLIHy0 (ORCPT ); Wed, 9 Dec 2009 02:54:26 -0500 Received: from rere.qmqm.pl ([89.167.52.164]:44282 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757387AbZLIHyK (ORCPT ); Wed, 9 Dec 2009 02:54:10 -0500 From: =?UTF-8?Q?Micha=C5=82=20Miros=C5=82aw=20?= To: linux-kernel@vger.kernel.org Message-ID: <8-1000-25639-1260344705-9533@rere.qmqm.pl> In-Reply-To: <1-1000-25639-1260344705-9533@rere.qmqm.pl> Date: Wed, 9 Dec 2009 08:32:36 +0100 Subject: [PATCH 7/7] mtrr: mark mtrr_if as __read_mostly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 910 Lines: 26 Signed-off-by: Michał Mirosław --- arch/x86/kernel/cpu/mtrr/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/cpu/mtrr/main.c b/arch/x86/kernel/cpu/mtrr/main.c index 737780a..7310682 100644 --- a/arch/x86/kernel/cpu/mtrr/main.c +++ b/arch/x86/kernel/cpu/mtrr/main.c @@ -60,7 +60,7 @@ static DEFINE_MUTEX(mtrr_mutex); u64 size_or_mask, size_and_mask; static bool mtrr_aps_delayed_init; -const struct mtrr_ops *mtrr_if; +const struct mtrr_ops *mtrr_if __read_mostly; static void set_mtrr(unsigned int reg, unsigned long base, unsigned long size, mtrr_type type); -- 1.6.4.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/