Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90988
b: refs/heads/master
c: 1679f27
h: refs/heads/master
v: v3
  • Loading branch information
Suresh Siddha authored and Ingo Molnar committed Apr 19, 2008
1 parent 409a623 commit e96a2f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aa283f49276e7d840a40fb01eee6de97eaa7e012
refs/heads/master: 1679f2710ac58df580d3716fab1f42ae50a226eb
3 changes: 1 addition & 2 deletions trunk/arch/x86/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ void free_thread_xstate(struct task_struct *tsk)
}
}


void free_thread_info(struct thread_info *ti)
{
free_thread_xstate(ti->task);
free_pages((unsigned long)(ti), get_order(THREAD_SIZE));
free_pages((unsigned long)ti, get_order(THREAD_SIZE));
}

void arch_task_cache_init(void)
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/asm-x86/i387.h
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ static inline unsigned short get_fpu_cwd(struct task_struct *tsk)
if (cpu_has_fxsr) {
return tsk->thread.xstate->fxsave.cwd;
} else {
return (unsigned short) tsk->thread.xstate->fsave.cwd;
return (unsigned short)tsk->thread.xstate->fsave.cwd;
}
}

Expand All @@ -337,7 +337,7 @@ static inline unsigned short get_fpu_swd(struct task_struct *tsk)
if (cpu_has_fxsr) {
return tsk->thread.xstate->fxsave.swd;
} else {
return (unsigned short) tsk->thread.xstate->fsave.swd;
return (unsigned short)tsk->thread.xstate->fsave.swd;
}
}

Expand Down

0 comments on commit e96a2f9

Please sign in to comment.