• Glauber de Oliveira Costa's avatar
    [PATCH] x86-64: Remove duplicated code for reading control registers · fbc16f2c
    Glauber de Oliveira Costa authored
    On Tue, Mar 13, 2007 at 05:33:09AM -0700, Randy.Dunlap wrote:
    > On Tue, 13 Mar 2007, Glauber de Oliveira Costa wrote:
    >
    > > 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.
    >
    > missing patch.....
    >
    thanks. Attached now
    
    --
    Glauber de Oliveira Costa
    Red Hat Inc.
    "Free as in Freedom"
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    fbc16f2c
system.h 6.57 KB