kernel/fork.c: mark 'stack_vm_area' with __maybe_unused
[linux-2.6-microblaze.git] / kernel / fork.c
index c979605..d439c48 100644 (file)
@@ -841,7 +841,7 @@ static struct task_struct *dup_task_struct(struct task_struct *orig, int node)
 {
        struct task_struct *tsk;
        unsigned long *stack;
-       struct vm_struct *stack_vm_area;
+       struct vm_struct *stack_vm_area __maybe_unused;
        int err;
 
        if (node == NUMA_NO_NODE)