aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/perf/imc-pmu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/perf/imc-pmu.c b/arch/powerpc/perf/imc-pmu.c
index e3a1f65933b5..39a0203fd8a5 100644
--- a/arch/powerpc/perf/imc-pmu.c
+++ b/arch/powerpc/perf/imc-pmu.c
@@ -537,8 +537,8 @@ static int core_imc_mem_init(int cpu, int size)
537 537
538 /* We need only vbase for core counters */ 538 /* We need only vbase for core counters */
539 mem_info->vbase = page_address(alloc_pages_node(phys_id, 539 mem_info->vbase = page_address(alloc_pages_node(phys_id,
540 GFP_KERNEL | __GFP_ZERO | __GFP_THISNODE, 540 GFP_KERNEL | __GFP_ZERO | __GFP_THISNODE |
541 get_order(size))); 541 __GFP_NOWARN, get_order(size)));
542 if (!mem_info->vbase) 542 if (!mem_info->vbase)
543 return -ENOMEM; 543 return -ENOMEM;
544 544
@@ -791,8 +791,8 @@ static int thread_imc_mem_alloc(int cpu_id, int size)
791 * free the memory in cpu offline path. 791 * free the memory in cpu offline path.
792 */ 792 */
793 local_mem = page_address(alloc_pages_node(phys_id, 793 local_mem = page_address(alloc_pages_node(phys_id,
794 GFP_KERNEL | __GFP_ZERO | __GFP_THISNODE, 794 GFP_KERNEL | __GFP_ZERO | __GFP_THISNODE |
795 get_order(size))); 795 __GFP_NOWARN, get_order(size)));
796 if (!local_mem) 796 if (!local_mem)
797 return -ENOMEM; 797 return -ENOMEM;
798 798