2017-06-29 22:24 GMT+03:00 Michael Holzheu <holzheu@xxxxxxxxxxxxxxxxxx>: > Add s390 parts to common code files. > > Signed-off-by: Michael Holzheu <holzheu@xxxxxxxxxxxxxxxxxx> Reviewed-by: Dmitry Safonov <dsafonov@xxxxxxxxxxxxx> ... > @@ -202,17 +208,24 @@ err_oob: > return -EFAULT; > } > > +/* On s390x Hash_t is 64 bit */ > +#ifdef __s390x__ > +typedef unsigned long Hash_t; > +#else > +typedef Word_t Hash_t; > +#endif Just for prettifying a bit, may we move it to platform-depended Elf types definitions to criu/include/util-vdso.h? Just a preference, may be left if it looks better for you as-is. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-s390" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html