Messages in this thread Patch in this message | | | From | Michał Mirosław <> | Date | Wed, 9 Dec 2009 08:32:36 +0100 | Subject | [PATCH 7/7] mtrr: mark mtrr_if as __read_mostly |
| |
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> --- 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/
| |