On Tue, Jan 07, 2020 at 10:10:33AM +0000, Guillaume Gardet wrote:
Hi,
Since mid-december, mali kmp fail to build on Leap 15.2 aarch64 with: ERROR: "mm_trace_rss_stat" [/home/abuild/rpmbuild/BUILD/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase.ko] undefined!
JobHistory: https://build.opensuse.org/packages/mali-bifrost-kmp/job_history/devel:ARM:F...
We probably need to add: EXPORT_SYMBOL_GPL(mm_trace_rss_stat); In mm/memory.c
But it is unclear why Tumbleweed (still at 5.3) and SLE15-SP2 are fine. Any idea what causes this difference?
The function was added by mainline commit b3d1411b6726 ("mm: emit tracepoint when RSS changes") in 5.5-rc1 so it's no surprise it's not in 5.3 TW kernel (and likely won't be even in 5.4 one). This commit was backported to SLE15-SP2 in early December and we had some trouble with SLE15-SP2 snapshots recently so it's possible this backport didn't make it into the OBS mirror of SLE15-SP2 yet (or not into the repository you are building against) but the openSUSE-15.2 snapshot is a bit ahead. Michal Kubecek -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org