Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8b8d8e28 authored by David S. Miller's avatar David S. Miller
Browse files

sparc64: Support kmemleak.



Only missing thing was an _sdata marker in vmlinux.lds.S

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9960e9e8
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -52,6 +52,10 @@ SECTIONS
	_etext = .;

	RO_DATA(PAGE_SIZE)

	/* Start of data section */
	_sdata = .;

	.data1 : {
		*(.data1)
	}
+1 −1
Original line number Diff line number Diff line
@@ -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