mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 06:10:54 +07:00
sparc64: Support kmemleak.
Only missing thing was an _sdata marker in vmlinux.lds.S Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
9960e9e894
commit
8b8d8e2840
@ -52,6 +52,10 @@ SECTIONS
|
||||
_etext = .;
|
||||
|
||||
RO_DATA(PAGE_SIZE)
|
||||
|
||||
/* Start of data section */
|
||||
_sdata = .;
|
||||
|
||||
.data1 : {
|
||||
*(.data1)
|
||||
}
|
||||
|
@ -356,7 +356,7 @@ config SLUB_STATS
|
||||
config DEBUG_KMEMLEAK
|
||||
bool "Kernel memory leak detector"
|
||||
depends on DEBUG_KERNEL && EXPERIMENTAL && !MEMORY_HOTPLUG && \
|
||||
(X86 || ARM || PPC || S390 || SUPERH)
|
||||
(X86 || ARM || PPC || S390 || SPARC64 || SUPERH)
|
||||
|
||||
select DEBUG_FS if SYSFS
|
||||
select STACKTRACE if STACKTRACE_SUPPORT
|
||||
|
Loading…
Reference in New Issue
Block a user