lkml.org 
[lkml]   [2018]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 3/3] percpu: Remove inert tracepoint in __init code
Date
The jump_label code doesn't patch init code, so this tracepoint can
never be enabled. Remove it.

Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
---
mm/percpu.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/mm/percpu.c b/mm/percpu.c
index 50e7fdf84055..3216364ad91b 100644
--- a/mm/percpu.c
+++ b/mm/percpu.c
@@ -2156,7 +2156,6 @@ int __init pcpu_setup_first_chunk(const struct pcpu_alloc_info *ai,
pcpu_chunk_relocate(pcpu_first_chunk, -1);

pcpu_stats_chunk_alloc();
- trace_percpu_create_chunk(base_addr);

/* we're done */
pcpu_base_addr = base_addr;
--
2.14.3
\
 
 \ /
  Last update: 2018-02-14 17:43    [W:0.072 / U:0.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site