|
@@ -60,7 +60,7 @@ static inline long syscall_get_error(struct task_struct *task,
|
|
* TS_COMPAT is set for 32-bit syscall entries and then
|
|
* TS_COMPAT is set for 32-bit syscall entries and then
|
|
* remains set until we return to user mode.
|
|
* remains set until we return to user mode.
|
|
*/
|
|
*/
|
|
- if (task->thread.status & (TS_COMPAT|TS_I386_REGS_POKED))
|
|
|
|
|
|
+ if (task->thread_info.status & (TS_COMPAT|TS_I386_REGS_POKED))
|
|
/*
|
|
/*
|
|
* Sign-extend the value so (int)-EFOO becomes (long)-EFOO
|
|
* Sign-extend the value so (int)-EFOO becomes (long)-EFOO
|
|
* and will match correctly in comparisons.
|
|
* and will match correctly in comparisons.
|
|
@@ -116,7 +116,7 @@ static inline void syscall_get_arguments(struct task_struct *task,
|
|
unsigned long *args)
|
|
unsigned long *args)
|
|
{
|
|
{
|
|
# ifdef CONFIG_IA32_EMULATION
|
|
# ifdef CONFIG_IA32_EMULATION
|
|
- if (task->thread.status & TS_COMPAT)
|
|
|
|
|
|
+ if (task->thread_info.status & TS_COMPAT)
|
|
switch (i) {
|
|
switch (i) {
|
|
case 0:
|
|
case 0:
|
|
if (!n--) break;
|
|
if (!n--) break;
|
|
@@ -177,7 +177,7 @@ static inline void syscall_set_arguments(struct task_struct *task,
|
|
const unsigned long *args)
|
|
const unsigned long *args)
|
|
{
|
|
{
|
|
# ifdef CONFIG_IA32_EMULATION
|
|
# ifdef CONFIG_IA32_EMULATION
|
|
- if (task->thread.status & TS_COMPAT)
|
|
|
|
|
|
+ if (task->thread_info.status & TS_COMPAT)
|
|
switch (i) {
|
|
switch (i) {
|
|
case 0:
|
|
case 0:
|
|
if (!n--) break;
|
|
if (!n--) break;
|