x86: ia32_signal: introduce {get|set}_user_seg()
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Sat, 21 Feb 2009 03:00:54 +0000 (19:00 -0800)
committerIngo Molnar <mingo@elte.hu>
Sun, 22 Feb 2009 16:54:47 +0000 (17:54 +0100)
commita967bb3fbe640056bacb0357722f51676bb06e3c
tree5412bf9440f297dbb87d98e70505c28408a50b90
parent8801ead40caa8ba9c7d47a06ff1247c166cbfd5a
x86: ia32_signal: introduce {get|set}_user_seg()

Impact: cleanup

Introduce {get|set}_user_seg() and loadsegment_xx() macros to make code clean.

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/ia32/ia32_signal.c