Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190783
b: refs/heads/master
c: 475f9aa
h: refs/heads/master
i:
  190781: 289e1b5
  190779: 9bb3777
  190775: 5ac198f
  190767: 97a03b7
  190751: a4921c4
  190719: a5575fc
v: v3
  • Loading branch information
Vitaly Mayatskikh authored and Linus Torvalds committed May 12, 2010
1 parent 3dd733a commit 6abd9c2
Show file tree
Hide file tree
Showing 2 changed files with 3 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: d586ebbb8814e039545d38f69029533f3f17748d
refs/heads/master: 475f9aa6aa538befcbd0fa95bdebada600f247cd
6 changes: 2 additions & 4 deletions trunk/kernel/kexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1134,11 +1134,9 @@ int crash_shrink_memory(unsigned long new_size)

free_reserved_phys_range(end, crashk_res.end);

if (start == end) {
crashk_res.end = end;
if (start == end)
release_resource(&crashk_res);
} else
crashk_res.end = end - 1;
crashk_res.end = end - 1;

unlock:
mutex_unlock(&kexec_mutex);
Expand Down

0 comments on commit 6abd9c2

Please sign in to comment.