]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
s390: disable branch profiling for vdso
authorSven Schnelle <svens@linux.ibm.com>
Mon, 7 Sep 2020 15:45:37 +0000 (17:45 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 14 Sep 2020 08:30:07 +0000 (10:30 +0200)
commit4bf3ec384edf0bf893ec7bd62ccebb635b02efd9
treec7cd889be045b56dfca6319dfbccc999ea1f6baf
parent4bff8cb5450287e246d365b719148b2d9364c292
s390: disable branch profiling for vdso

When branch profiling is enabled, if () gets annotated with code to
instrument the hit/miss ratio. This doesn't work for VDSO as we can't
access kernel code. Add -DDISABLE_BRANCH_PROFILING to fix this.

Reported-by: Thomas Richter <tmricht@linux.ibm.com>
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/vdso64/Makefile