Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54300
b: refs/heads/master
c: a18ff1b
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed May 7, 2007
1 parent cc3ff3f commit 9eb4e66
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 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: 57ac895a7f22d235f637317f58a2d9ba6ec91a27
refs/heads/master: a18ff1bde0c3da9ece3ba60e6eae2ef87f91a12e
12 changes: 11 additions & 1 deletion trunk/arch/um/kernel/skas/exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,17 @@

void flush_thread_skas(void)
{
force_flush_all();
void *data = NULL;
unsigned long end = proc_mm ? task_size : CONFIG_STUB_START;
int ret;

ret = unmap(&current->mm->context.skas.id, 0, end, 1, &data);
if(ret){
printk("flush_thread_skas - clearing address space failed, "
"err = %d\n", ret);
force_sig(SIGKILL, current);
}

switch_mm_skas(&current->mm->context.skas.id);
}

Expand Down

0 comments on commit 9eb4e66

Please sign in to comment.