Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135600
b: refs/heads/master
c: 702d9e5
h: refs/heads/master
v: v3
  • Loading branch information
Carsten Otte authored and Martin Schwidefsky committed Mar 26, 2009
1 parent a35522b commit caae3b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3324e60aafa9aeb1009878d45079b67367a5e2b6
refs/heads/master: 702d9e584feb028ed7e2a6d2b103b8ea57622ff2
4 changes: 4 additions & 0 deletions trunk/arch/s390/mm/pgtable.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,10 @@ int s390_enable_sie(void)
struct task_struct *tsk = current;
struct mm_struct *mm, *old_mm;

/* Do we have switched amode? If no, we cannot do sie */
if (!switch_amode)
return -EINVAL;

/* Do we have pgstes? if yes, we are done */
if (tsk->mm->context.has_pgste)
return 0;
Expand Down

0 comments on commit caae3b4

Please sign in to comment.