aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/pgalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ia64/pgalloc.h')
-rw-r--r--include/asm-ia64/pgalloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-ia64/pgalloc.h b/include/asm-ia64/pgalloc.h
index 2b7127330ae1..a5f214554afd 100644
--- a/include/asm-ia64/pgalloc.h
+++ b/include/asm-ia64/pgalloc.h
@@ -49,12 +49,12 @@ static inline void *pgtable_quicklist_alloc(void)
49 pgtable_quicklist = (unsigned long *)(*ret); 49 pgtable_quicklist = (unsigned long *)(*ret);
50 ret[0] = 0; 50 ret[0] = 0;
51 --pgtable_quicklist_size; 51 --pgtable_quicklist_size;
52 preempt_enable();
52 } else { 53 } else {
54 preempt_enable();
53 ret = (unsigned long *)__get_free_page(GFP_KERNEL | __GFP_ZERO); 55 ret = (unsigned long *)__get_free_page(GFP_KERNEL | __GFP_ZERO);
54 } 56 }
55 57
56 preempt_enable();
57
58 return ret; 58 return ret;
59} 59}
60 60