All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Remove duplicated code for reading control registers
@ 2007-03-13 12:30 Glauber de Oliveira Costa
       [not found] ` <Pine.LNX.4.58.0703130532510.13997@shark.he.net>
  0 siblings, 1 reply; 2+ messages in thread
From: Glauber de Oliveira Costa @ 2007-03-13 12:30 UTC (permalink / raw)
  To: akpm, andi, linux-kernel

Tiny cleanup:

In x86_64, the same functions for reading cr3 and writing cr{3,4} are
defined in tlbflush.h and system.h, whith just a name change.
The only difference is the clobbering of memory, which seems a safe, and
even needed change for the write_cr4. This patch removes the duplicate.
write_cr3() is moved to system.h for consistency.

Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>

-- 
Glauber de Oliveira Costa
Red Hat Inc.
"Free as in Freedom"

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

end of thread, other threads:[~2007-03-13 12:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-13 12:30 [PATCH] Remove duplicated code for reading control registers Glauber de Oliveira Costa
     [not found] ` <Pine.LNX.4.58.0703130532510.13997@shark.he.net>
2007-03-13 12:52   ` Glauber de Oliveira Costa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.