Skip to content

Commit b200f5b

Browse files
Christoph Hellwigtorvalds
authored andcommitted
s390: use __vmalloc_node in stack_alloc
stack_alloc can use a slightly higher level vmalloc function. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Acked-by: Christian Borntraeger <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Cc: "K. Y. Srinivasan" <[email protected]> Cc: Haiyang Zhang <[email protected]> Cc: Stephen Hemminger <[email protected]> Cc: Wei Liu <[email protected]> Cc: David Airlie <[email protected]> Cc: Laura Abbott <[email protected]> Cc: Sumit Semwal <[email protected]> Cc: Sakari Ailus <[email protected]> Cc: Minchan Kim <[email protected]> Cc: Nitin Gupta <[email protected]> Cc: Robin Murphy <[email protected]> Cc: Christophe Leroy <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Gao Xiang <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Michael Kelley <[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 cb0849a commit b200f5b

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

arch/s390/kernel/setup.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -305,12 +305,9 @@ void *restart_stack __section(.data);
305305
unsigned long stack_alloc(void)
306306
{
307307
#ifdef CONFIG_VMAP_STACK
308-
return (unsigned long)
309-
__vmalloc_node_range(THREAD_SIZE, THREAD_SIZE,
310-
VMALLOC_START, VMALLOC_END,
311-
THREADINFO_GFP,
312-
PAGE_KERNEL, 0, NUMA_NO_NODE,
313-
__builtin_return_address(0));
308+
return (unsigned long)__vmalloc_node(THREAD_SIZE, THREAD_SIZE,
309+
THREADINFO_GFP, NUMA_NO_NODE,
310+
__builtin_return_address(0));
314311
#else
315312
return __get_free_pages(GFP_KERNEL, THREAD_SIZE_ORDER);
316313
#endif

0 commit comments

Comments
 (0)