[PATCH] xen: x86: Rename usermode macro
commitfa1e1bdf78d405f9905b8290ee9211e7a7bbc99b
authorVincent Hanquez <vincent.hanquez@cl.cam.ac.uk>
Thu, 23 Jun 2005 07:08:44 +0000 (23 00:08 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 23 Jun 2005 16:45:14 +0000 (23 09:45 -0700)
tree92b63c9965beb9718cfe426f2c2a81f397eb87c4
parent1cc6f12e03ebc064b74161c684f987284ce9d0cc
[PATCH] xen: x86: Rename usermode macro

Rename user_mode to user_mode_vm and add a user_mode macro similar to the
x86-64 one.

This is useful for Xen because the linux xen kernel does not runs on the same
priviledge that a vanilla linux kernel, and with this we just need to redefine
user_mode().

Signed-off-by: Vincent Hanquez <vincent.hanquez@cl.cam.ac.uk>
Cc: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/apic.c
arch/i386/kernel/ptrace.c
arch/i386/mach-voyager/voyager_smp.c
arch/i386/oprofile/backtrace.c
include/asm-i386/ptrace.h
include/asm-x86_64/ptrace.h