summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/sysinfo.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-05-11 14:00:57 +0200
committerChristoph Hellwig <hch@lst.de>2017-06-05 16:59:06 +0200
commite64e17a554746a7f794f3d480d06e4be530fc090 (patch)
tree689bb0223b009702ae5ee95ee138e18e7a9e0d34 /arch/s390/include/asm/sysinfo.h
parentuuid: hoist uuid_is_null() helper from libnvdimm (diff)
downloadlinux-e64e17a554746a7f794f3d480d06e4be530fc090.tar.xz
linux-e64e17a554746a7f794f3d480d06e4be530fc090.zip
S390/sysinfo: use uuid_is_null instead of opencoding it
And switch to use uuid_t instead of the old uuid_be type. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Amir Goldstein <amir73il@gmail.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'arch/s390/include/asm/sysinfo.h')
-rw-r--r--arch/s390/include/asm/sysinfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/include/asm/sysinfo.h b/arch/s390/include/asm/sysinfo.h
index e784bed6ed7f..2b498e58b914 100644
--- a/arch/s390/include/asm/sysinfo.h
+++ b/arch/s390/include/asm/sysinfo.h
@@ -109,7 +109,7 @@ struct sysinfo_2_2_2 {
unsigned short cpus_shared;
char reserved_4[3];
unsigned char vsne;
- uuid_be uuid;
+ uuid_t uuid;
char reserved_5[160];
char ext_name[256];
};
@@ -134,7 +134,7 @@ struct sysinfo_3_2_2 {
char reserved_1[3];
unsigned char evmne;
unsigned int reserved_2;
- uuid_be uuid;
+ uuid_t uuid;
} vm[8];
char reserved_3[1504];
char ext_names[8][256];