summaryrefslogtreecommitdiffstats
path: root/arch/c6x
diff options
context:
space:
mode:
authorThomas Richter <tmricht@linux.ibm.com>2018-10-25 10:04:05 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-11-02 08:31:56 +0100
commitc43e1c5a801fdde1aad0a2f9ed948753b5275d56 (patch)
treee55e13d0102127478bea85a4049b7ae8dd3a09a5 /arch/c6x
parents390/mm: fix mis-accounting of pgtable_bytes (diff)
downloadlinux-c43e1c5a801fdde1aad0a2f9ed948753b5275d56.tar.xz
linux-c43e1c5a801fdde1aad0a2f9ed948753b5275d56.zip
s390/cpum_sf: Rework attribute definition for diagnostic sampling
Previously, the attribute entry for diagnostic sampling was added if authorized. Otherwise, the array of struct attribute contains two NULL values. Change this logic and reserve space for the attribute for diagnostic sampling. If diagnostic sampling is authorized, add an entry in the respective position in the array of struct attribute. Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com> Suggested-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/c6x')
0 files changed, 0 insertions, 0 deletions