summaryrefslogtreecommitdiffstats
path: root/arch/sparc/ap1000/apmmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/ap1000/apmmu.c')
-rw-r--r--arch/sparc/ap1000/apmmu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sparc/ap1000/apmmu.c b/arch/sparc/ap1000/apmmu.c
index b0251d908..0bafe3fc9 100644
--- a/arch/sparc/ap1000/apmmu.c
+++ b/arch/sparc/ap1000/apmmu.c
@@ -11,7 +11,6 @@
* based on srmmu.c
*/
-#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/malloc.h>
@@ -593,7 +592,7 @@ struct task_struct *apmmu_alloc_task_struct(void)
static unsigned long apmmu_alloc_kernel_stack(struct task_struct *tsk)
{
- unsigned long kstk = __get_free_pages(GFP_KERNEL, 1, 0);
+ unsigned long kstk = __get_free_pages(GFP_KERNEL, 1);
if(!kstk)
kstk = (unsigned long) vmalloc(PAGE_SIZE << 1);