diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2009-03-23 09:50:03 -0400 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2009-03-23 16:20:20 -0400 |
| commit | 80c5520811d3805adcb15c570ea5e2d489fa5d0b (patch) | |
| tree | ae797a7f4af39f80e77526533d06ac23b439f0ab /arch/x86/math-emu/get_address.c | |
| parent | b3e3b302cf6dc8d60b67f0e84d1fa5648889c038 (diff) | |
| parent | 8c083f081d0014057901c68a0a3e0f8ca7ac8d23 (diff) | |
Merge branch 'cpus4096' into irq/threaded
Conflicts:
arch/parisc/kernel/irq.c
kernel/irq/handle.c
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/math-emu/get_address.c')
| -rw-r--r-- | arch/x86/math-emu/get_address.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/math-emu/get_address.c b/arch/x86/math-emu/get_address.c index 420b3b6e391..6ef5e99380f 100644 --- a/arch/x86/math-emu/get_address.c +++ b/arch/x86/math-emu/get_address.c | |||
| @@ -150,11 +150,9 @@ static long pm_address(u_char FPU_modrm, u_char segment, | |||
| 150 | #endif /* PARANOID */ | 150 | #endif /* PARANOID */ |
| 151 | 151 | ||
| 152 | switch (segment) { | 152 | switch (segment) { |
| 153 | /* gs isn't used by the kernel, so it still has its | ||
| 154 | user-space value. */ | ||
| 155 | case PREFIX_GS_ - 1: | 153 | case PREFIX_GS_ - 1: |
| 156 | /* N.B. - movl %seg, mem is a 2 byte write regardless of prefix */ | 154 | /* user gs handling can be lazy, use special accessors */ |
| 157 | savesegment(gs, addr->selector); | 155 | addr->selector = get_user_gs(FPU_info->regs); |
| 158 | break; | 156 | break; |
| 159 | default: | 157 | default: |
| 160 | addr->selector = PM_REG_(segment); | 158 | addr->selector = PM_REG_(segment); |
