Message ID | 20200408115926.1467567-28-hch@lst.de |
---|---|
State | Not Applicable |
Delegated to: | David Miller |
Headers | show |
Series | [01/28] x86/hyperv: use vmalloc_exec for the hypercall page | expand |
On 08.04.20 13:59, Christoph Hellwig wrote: > alloc_vm_stack can use a slightly higher level vmalloc function. > > Signed-off-by: Christoph Hellwig <hch@lst.de> > --- > arch/powerpc/kernel/irq.c | 5 ++--- wrong subject (power vs s390) > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c > index a25ed47087ee..4518fb1d6bf4 100644 > --- a/arch/powerpc/kernel/irq.c > +++ b/arch/powerpc/kernel/irq.c > @@ -735,9 +735,8 @@ void do_IRQ(struct pt_regs *regs) > > static void *__init alloc_vm_stack(void) > { > - return __vmalloc_node_range(THREAD_SIZE, THREAD_ALIGN, VMALLOC_START, > - VMALLOC_END, THREADINFO_GFP, PAGE_KERNEL, > - 0, NUMA_NO_NODE, (void*)_RET_IP_); > + return __vmalloc_node(THREAD_SIZE, THREAD_ALIGN, THREADINFO_GFP, > + NUMA_NO_NODE, (void *)_RET_IP_); > } > > static void __init vmap_irqstack_init(void) >
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c index a25ed47087ee..4518fb1d6bf4 100644 --- a/arch/powerpc/kernel/irq.c +++ b/arch/powerpc/kernel/irq.c @@ -735,9 +735,8 @@ void do_IRQ(struct pt_regs *regs) static void *__init alloc_vm_stack(void) { - return __vmalloc_node_range(THREAD_SIZE, THREAD_ALIGN, VMALLOC_START, - VMALLOC_END, THREADINFO_GFP, PAGE_KERNEL, - 0, NUMA_NO_NODE, (void*)_RET_IP_); + return __vmalloc_node(THREAD_SIZE, THREAD_ALIGN, THREADINFO_GFP, + NUMA_NO_NODE, (void *)_RET_IP_); } static void __init vmap_irqstack_init(void)
alloc_vm_stack can use a slightly higher level vmalloc function. Signed-off-by: Christoph Hellwig <hch@lst.de> --- arch/powerpc/kernel/irq.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)