]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
s390/cpum_sf: Use kzalloc and minor changes
authorThomas Richter <tmricht@linux.ibm.com>
Thu, 19 Dec 2019 13:56:13 +0000 (14:56 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 22 Jan 2020 12:05:34 +0000 (13:05 +0100)
commit32dab6828c42f087439d3e2617dc7283546bd8f7
tree21e19382f32585b0c7532c0d1ad3c7e70ff87bda
parentee5c4ccfd51d5dbaa9b9ddeed97c8d5526e55f17
s390/cpum_sf: Use kzalloc and minor changes

Use kzalloc() to allocate auxiliary buffer structure initialized
with all zeroes to avoid random value in trace output.

Avoid double access to SBD hardware flags.

Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/perf_cpum_sf.c