forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix up makefiles, remove references, and git rm kmemcheck. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Sasha Levin <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Vegard Nossum <[email protected]> Cc: Pekka Enberg <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Eric W. Biederman <[email protected]> Cc: Alexander Potapenko <[email protected]> Cc: Tim Hansen <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information
Showing
35 changed files
with
7 additions
and
2,592 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,6 @@ whole; patches welcome! | |
kasan | ||
ubsan | ||
kmemleak | ||
kmemcheck | ||
gdb-kernel-debugging | ||
kgdb | ||
kselftest | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7688,16 +7688,6 @@ F: include/linux/kdb.h | |
F: include/linux/kgdb.h | ||
F: kernel/debug/ | ||
|
||
KMEMCHECK | ||
M: Vegard Nossum <[email protected]> | ||
M: Pekka Enberg <[email protected]> | ||
S: Maintained | ||
F: Documentation/dev-tools/kmemcheck.rst | ||
F: arch/x86/include/asm/kmemcheck.h | ||
F: arch/x86/mm/kmemcheck/ | ||
F: include/linux/kmemcheck.h | ||
F: mm/kmemcheck.c | ||
|
||
KMEMLEAK | ||
M: Catalin Marinas <[email protected]> | ||
S: Maintained | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
#ifndef ASM_X86_KMEMCHECK_H | ||
#define ASM_X86_KMEMCHECK_H | ||
|
||
#include <linux/types.h> | ||
#include <asm/ptrace.h> | ||
|
||
#ifdef CONFIG_KMEMCHECK | ||
bool kmemcheck_active(struct pt_regs *regs); | ||
|
||
void kmemcheck_show(struct pt_regs *regs); | ||
void kmemcheck_hide(struct pt_regs *regs); | ||
|
||
bool kmemcheck_fault(struct pt_regs *regs, | ||
unsigned long address, unsigned long error_code); | ||
bool kmemcheck_trap(struct pt_regs *regs); | ||
#else | ||
static inline bool kmemcheck_active(struct pt_regs *regs) | ||
{ | ||
return false; | ||
} | ||
|
||
static inline void kmemcheck_show(struct pt_regs *regs) | ||
{ | ||
} | ||
|
||
static inline void kmemcheck_hide(struct pt_regs *regs) | ||
{ | ||
} | ||
|
||
static inline bool kmemcheck_fault(struct pt_regs *regs, | ||
unsigned long address, unsigned long error_code) | ||
{ | ||
return false; | ||
} | ||
|
||
static inline bool kmemcheck_trap(struct pt_regs *regs) | ||
{ | ||
return false; | ||
} | ||
#endif /* CONFIG_KMEMCHECK */ | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.