.. | .. |
---|
52 | 52 | |
---|
53 | 53 | int putreg(struct task_struct *child, int regno, unsigned long value) |
---|
54 | 54 | { |
---|
55 | | -#ifdef TIF_IA32 |
---|
56 | | - /* |
---|
57 | | - * Some code in the 64bit emulation may not be 64bit clean. |
---|
58 | | - * Don't take any chances. |
---|
59 | | - */ |
---|
60 | | - if (test_tsk_thread_flag(child, TIF_IA32)) |
---|
61 | | - value &= 0xffffffff; |
---|
62 | | -#endif |
---|
63 | 55 | switch (regno) { |
---|
64 | 56 | case R8: |
---|
65 | 57 | case R9: |
---|
.. | .. |
---|
137 | 129 | unsigned long getreg(struct task_struct *child, int regno) |
---|
138 | 130 | { |
---|
139 | 131 | unsigned long mask = ~0UL; |
---|
140 | | -#ifdef TIF_IA32 |
---|
141 | | - if (test_tsk_thread_flag(child, TIF_IA32)) |
---|
142 | | - mask = 0xffffffff; |
---|
143 | | -#endif |
---|
| 132 | + |
---|
144 | 133 | switch (regno) { |
---|
145 | 134 | case R8: |
---|
146 | 135 | case R9: |
---|