x86: use user_mode macro
commitcf4cfb225ab2b48611cb4f9e8db23c87486416d6
authorGlauber Costa <gcosta@redhat.com>
Fri, 11 Jul 2008 16:45:46 +0000 (11 13:45 -0300)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Oct 2008 08:21:23 +0000 (13 10:21 +0200)
tree25caceae9e6f387026f3798b277a99b2cae691b7
parentbd32a8cfa8f172bd943655a3663d8005e5c1d83c
x86: use user_mode macro

Instead of using SEGMENT_IS_KERNEL_CODE, use the
"user_mode" macro, which can play the same role. Delete
the former, since it now lacks any user.

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/time_32.c
include/asm-x86/segment.h