Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324024
b: refs/heads/master
c: d4c9dbc
h: refs/heads/master
v: v3
  • Loading branch information
Jan Beulich authored and Ingo Molnar committed Sep 7, 2012
1 parent e79375f commit 87763ee
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 057237bb35a605d795fd787868a1088705f26ee5
refs/heads/master: d4c9dbc61fe0ca042b835c6f234af12fa5f18310
2 changes: 1 addition & 1 deletion trunk/arch/x86/mm/tlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ static ssize_t tlbflush_write_file(struct file *file,
if (kstrtos8(buf, 0, &shift))
return -EINVAL;

if (shift > 64)
if (shift < -1 || shift >= BITS_PER_LONG)
return -EINVAL;

tlb_flushall_shift = shift;
Expand Down

0 comments on commit 87763ee

Please sign in to comment.