• Jan Beulich's avatar
    [PATCH] i386: fix uses of user_mode() vs. user_mode_vm() · db753bdf
    Jan Beulich authored
    >commit 76381fee
    >Author: Vincent Hanquez <vincent.hanquez@cl.cam.ac.uk>
    >Date:   Thu Jun 23 00:08:46 2005 -0700
    >
    >    [PATCH] xen: x86_64: use more usermode macro
    >
    >    Make use of the user_mode macro where it's possible.  This is useful for Xen
    >    because it will need only to redefine only the macro to a hypervisor call.
    
    I am of the opinion that the above changeset is incomplete, i.e.  it missed
    converting some previous uses of user_mode to user_mode_vm.  While most of
    them could be considered just cosmetical, at least the one in die_nmi
    doesn't appear to be.
    Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
    Cc: Vincent Hanquez <vincent.hanquez@cl.cam.ac.uk>
    Cc: Zachary Amsden <zach@vmware.com>
    Cc: James Bottomley <James.Bottomley@steeleye.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    db753bdf
traps.c 30.4 KB