projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MIPS: bitops: Use smp_mb__before_atomic in test_* ops
[linux-2.6-microblaze.git]
/
kernel
/
kexec_core.c
diff --git
a/kernel/kexec_core.c
b/kernel/kexec_core.c
index
d587072
..
15d70a9
100644
(file)
--- a/
kernel/kexec_core.c
+++ b/
kernel/kexec_core.c
@@
-300,6
+300,8
@@
static struct page *kimage_alloc_pages(gfp_t gfp_mask, unsigned int order)
{
struct page *pages;
+ if (fatal_signal_pending(current))
+ return NULL;
pages = alloc_pages(gfp_mask & ~__GFP_ZERO, order);
if (pages) {
unsigned int count, i;