summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThomas Richter <tmricht@linux.ibm.com>2018-10-25 09:04:05 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-11-02 08:31:56 +0100
commitc43e1c5a801fdde1aad0a2f9ed948753b5275d56 (patch)
treee55e13d0102127478bea85a4049b7ae8dd3a09a5 /lib
parente12e4044aede97974f2222eb7f0ed726a5179a32 (diff)
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 'lib')
0 files changed, 0 insertions, 0 deletions