linux-stable/arch
Barry Song 66ce75144d kprobes: remove duplicated strong free_insn_page in x86 and s390
free_insn_page() in x86 and s390 is same with the common weak function in
kernel/kprobes.c.  Plus, the comment "Recover page to RW mode before
releasing it" in x86 seems insensible to be there since resetting mapping
is done by common code in vfree() of module_memfree().  So drop these two
duplicated strong functions and related comment, then mark the common one
in kernel/kprobes.c strong.

Link: https://lkml.kernel.org/r/20210608065736.32656-1-song.bao.hua@hisilicon.com
Signed-off-by: Barry Song <song.bao.hua@hisilicon.com>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: "Naveen N. Rao" <naveen.n.rao@linux.ibm.com>
Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Qi Liu <liuqi115@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-07-01 11:06:06 -07:00
..
alpha kernel.h: split out panic and oops helpers 2021-07-01 11:06:04 -07:00
arc mm/thp: define default pmd_pgtable() 2021-07-01 11:06:03 -07:00
arm mm/thp: define default pmd_pgtable() 2021-07-01 11:06:03 -07:00
arm64 kernel.h: split out panic and oops helpers 2021-07-01 11:06:04 -07:00
csky mm/thp: define default pmd_pgtable() 2021-07-01 11:06:03 -07:00
h8300 h8300: remove unused variable 2021-06-29 10:53:52 -07:00
hexagon mm/thp: define default pmd_pgtable() 2021-07-01 11:06:03 -07:00
ia64 kernel.h: split out panic and oops helpers 2021-07-01 11:06:04 -07:00
m68k mm/thp: define default pmd_pgtable() 2021-07-01 11:06:03 -07:00
microblaze mm/thp: define default pmd_pgtable() 2021-07-01 11:06:03 -07:00
mips kernel.h: split out panic and oops helpers 2021-07-01 11:06:04 -07:00
nds32 mm/thp: define default pmd_pgtable() 2021-07-01 11:06:03 -07:00
nios2 mm/thp: define default pmd_pgtable() 2021-07-01 11:06:03 -07:00
openrisc mm/thp: define default pmd_pgtable() 2021-07-01 11:06:03 -07:00
parisc kernel.h: split out panic and oops helpers 2021-07-01 11:06:04 -07:00
powerpc kernel.h: split out panic and oops helpers 2021-07-01 11:06:04 -07:00
riscv mm/thp: define default pmd_pgtable() 2021-07-01 11:06:03 -07:00
s390 kprobes: remove duplicated strong free_insn_page in x86 and s390 2021-07-01 11:06:06 -07:00
sh mm/thp: define default pmd_pgtable() 2021-07-01 11:06:03 -07:00
sparc kernel.h: split out panic and oops helpers 2021-07-01 11:06:04 -07:00
um kernel.h: split out panic and oops helpers 2021-07-01 11:06:04 -07:00
x86 kprobes: remove duplicated strong free_insn_page in x86 and s390 2021-07-01 11:06:06 -07:00
xtensa kernel.h: split out panic and oops helpers 2021-07-01 11:06:04 -07:00
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
Kconfig Add Landlock, a new LSM from Mickaël Salaün <mic@linux.microsoft.com> 2021-05-01 18:50:44 -07:00