[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20070313123011.GG10126@redhat.com>
Date: Tue, 13 Mar 2007 09:30:11 -0300
From: Glauber de Oliveira Costa <gcosta@...hat.com>
To: akpm@...ux-foundation.org, andi@...stfloor.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] Remove duplicated code for reading control registers
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@...hat.com>
--
Glauber de Oliveira Costa
Red Hat Inc.
"Free as in Freedom"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists