public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* mtrr/state.c unused?
@ 2010-02-03 20:24 Borislav Petkov
  2010-02-04  8:24 ` Ingo Molnar
  0 siblings, 1 reply; 6+ messages in thread
From: Borislav Petkov @ 2010-02-03 20:24 UTC (permalink / raw)
  To: Ingo Molnar, H. Peter Anvin, Thomas Gleixner; +Cc: linux-kernel, x86

It looks like <arch/x86/kernel/cpu/mtrr/state.c> is not used by
anything in the kernel.

Besides cleanups, the only relevant patch in the git history is:

commit 2ec1df4130c60d1eb49dc0fa0ed15858fede6b05
Author: Thomas Gleixner <tglx@linutronix.de>
Date:   Thu Oct 11 11:16:28 2007 +0200

    i386: move kernel/cpu/mtrr


which adds it. Hmm...

A

git log -i --pickaxe-all -Sset_mtrr_prepare_save

for example, shows that

commit 9a6b344ea967efa0bb5ca4cb5405f840652b66c4
Author: Harvey Harrison <harvey.harrison@gmail.com>
Date:   Mon Feb 4 16:48:01 2008 +0100

    x86: remove long dead cyrix mtrr code

has removed the last callers of those helpers and they're now unused.
They should go if we don't need them anymore.

-- 
Regards/Gruss,
Boris.

--
Advanced Micro Devices, Inc.
Operating Systems Research Center

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-02-04 17:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-03 20:24 mtrr/state.c unused? Borislav Petkov
2010-02-04  8:24 ` Ingo Molnar
2010-02-04  8:51   ` Borislav Petkov
2010-02-04  9:57     ` [tip:x86/cleanups] x86, mtrr: Remove unused mtrr/state.c tip-bot for Borislav Petkov
2010-02-04 17:29   ` mtrr/state.c unused? Harvey Harrison
2010-02-04 17:41     ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox