diff options
| author | Levin, Alexander (Sasha Levin) <alexander.levin@verizon.com> | 2017-11-15 20:36:02 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-15 21:21:05 -0500 |
| commit | 4675ff05de2d76d167336b368bd07f3fef6ed5a6 (patch) | |
| tree | 212d8adf40e13c2a27ac7834d14ca4900923b98c /kernel | |
| parent | d8be75663cec0069b85f80191abd2682ce4a512f (diff) | |
kmemcheck: rip it out
Fix up makefiles, remove references, and git rm kmemcheck.
Link: http://lkml.kernel.org/r/20171007030159.22241-4-alexander.levin@verizon.com
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Vegard Nossum <vegardno@ifi.uio.no>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Tim Hansen <devtimhansen@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/softirq.c | 10 | ||||
| -rw-r--r-- | kernel/sysctl.c | 10 |
2 files changed, 0 insertions, 20 deletions
diff --git a/kernel/softirq.c b/kernel/softirq.c index 662f7b1b7a78..2f5e87f1bae2 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c | |||
| @@ -486,16 +486,6 @@ void __tasklet_hi_schedule(struct tasklet_struct *t) | |||
| 486 | } | 486 | } |
| 487 | EXPORT_SYMBOL(__tasklet_hi_schedule); | 487 | EXPORT_SYMBOL(__tasklet_hi_schedule); |
| 488 | 488 | ||
| 489 | void __tasklet_hi_schedule_first(struct tasklet_struct *t) | ||
| 490 | { | ||
| 491 | lockdep_assert_irqs_disabled(); | ||
| 492 | |||
| 493 | t->next = __this_cpu_read(tasklet_hi_vec.head); | ||
| 494 | __this_cpu_write(tasklet_hi_vec.head, t); | ||
| 495 | __raise_softirq_irqoff(HI_SOFTIRQ); | ||
| 496 | } | ||
| 497 | EXPORT_SYMBOL(__tasklet_hi_schedule_first); | ||
| 498 | |||
| 499 | static __latent_entropy void tasklet_action(struct softirq_action *a) | 489 | static __latent_entropy void tasklet_action(struct softirq_action *a) |
| 500 | { | 490 | { |
| 501 | struct tasklet_struct *list; | 491 | struct tasklet_struct *list; |
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 9576bd582d4a..7638e2f7fff8 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
| @@ -30,7 +30,6 @@ | |||
| 30 | #include <linux/proc_fs.h> | 30 | #include <linux/proc_fs.h> |
| 31 | #include <linux/security.h> | 31 | #include <linux/security.h> |
| 32 | #include <linux/ctype.h> | 32 | #include <linux/ctype.h> |
| 33 | #include <linux/kmemcheck.h> | ||
| 34 | #include <linux/kmemleak.h> | 33 | #include <linux/kmemleak.h> |
| 35 | #include <linux/fs.h> | 34 | #include <linux/fs.h> |
| 36 | #include <linux/init.h> | 35 | #include <linux/init.h> |
| @@ -1174,15 +1173,6 @@ static struct ctl_table kern_table[] = { | |||
| 1174 | .extra2 = &one_thousand, | 1173 | .extra2 = &one_thousand, |
| 1175 | }, | 1174 | }, |
| 1176 | #endif | 1175 | #endif |
| 1177 | #ifdef CONFIG_KMEMCHECK | ||
| 1178 | { | ||
| 1179 | .procname = "kmemcheck", | ||
| 1180 | .data = &kmemcheck_enabled, | ||
| 1181 | .maxlen = sizeof(int), | ||
| 1182 | .mode = 0644, | ||
| 1183 | .proc_handler = proc_dointvec, | ||
| 1184 | }, | ||
| 1185 | #endif | ||
| 1186 | { | 1176 | { |
| 1187 | .procname = "panic_on_warn", | 1177 | .procname = "panic_on_warn", |
| 1188 | .data = &panic_on_warn, | 1178 | .data = &panic_on_warn, |
