<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Petr,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 16, 2020 at 5:15 PM Petr Vorel <<a href="mailto:pvorel@suse.com">pvorel@suse.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Li,<br>
<br>
Actually it fails to build on non-intel.<br>
<a href="https://travis-ci.org/github/pevik/ltp/jobs/708655670" rel="noreferrer" target="_blank">https://travis-ci.org/github/pevik/ltp/jobs/708655670</a><br>
/usr/src/ltp/testcases/kernel/syscalls/iopl/iopl02.c:21:10: fatal error: sys/io.h: No such file or directory<br>
9793 #include <sys/io.h><br>
<br>
<a href="https://travis-ci.org/github/pevik/ltp/builds/708655668" rel="noreferrer" target="_blank">https://travis-ci.org/github/pevik/ltp/builds/708655668</a><br>
<br>
<sys/io.h> needs to be included behind #if defined __i386__ ||<br>
defined(__x86_64__) guarder.<br></blockquote><div><br></div><div class="gmail_default" style="font-size:small">Thanks for catching this, I have fixed it and pushed.</div></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,<br></div><div>Li Wang<br></div></div></div></div>