diff options
author | Thomas Richter <tmricht@linux.ibm.com> | 2018-10-25 10:04:05 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-11-02 08:31:56 +0100 |
commit | c43e1c5a801fdde1aad0a2f9ed948753b5275d56 (patch) | |
tree | e55e13d0102127478bea85a4049b7ae8dd3a09a5 /arch/s390/Makefile | |
parent | s390/mm: fix mis-accounting of pgtable_bytes (diff) | |
download | linux-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/s390/Makefile')
0 files changed, 0 insertions, 0 deletions