Skip to content

Commit cb0849a

Browse files
Christoph Hellwigtorvalds
authored andcommitted
powerpc: use __vmalloc_node in alloc_vm_stack
alloc_vm_stack can use a slightly higher level vmalloc function. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Cc: Christian Borntraeger <[email protected]> Cc: Christophe Leroy <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: David Airlie <[email protected]> Cc: Gao Xiang <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Haiyang Zhang <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: "K. Y. Srinivasan" <[email protected]> Cc: Laura Abbott <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Michael Kelley <[email protected]> Cc: Minchan Kim <[email protected]> Cc: Nitin Gupta <[email protected]> Cc: Robin Murphy <[email protected]> Cc: Sakari Ailus <[email protected]> Cc: Stephen Hemminger <[email protected]> Cc: Sumit Semwal <[email protected]> Cc: Wei Liu <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Vasily Gorbik <[email protected]> Cc: Will Deacon <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
1 parent ebcdd30 commit cb0849a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

arch/powerpc/kernel/irq.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -748,9 +748,8 @@ void do_IRQ(struct pt_regs *regs)
748748

749749
static void *__init alloc_vm_stack(void)
750750
{
751-
return __vmalloc_node_range(THREAD_SIZE, THREAD_ALIGN, VMALLOC_START,
752-
VMALLOC_END, THREADINFO_GFP, PAGE_KERNEL,
753-
0, NUMA_NO_NODE, (void*)_RET_IP_);
751+
return __vmalloc_node(THREAD_SIZE, THREAD_ALIGN, THREADINFO_GFP,
752+
NUMA_NO_NODE, (void *)_RET_IP_);
754753
}
755754

756755
static void __init vmap_irqstack_init(void)

0 commit comments

Comments
 (0)