<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 10, 2018 at 8:42 PM, Jan Stancek <span dir="ltr"><<a href="mailto:jstancek@redhat.com" target="_blank">jstancek@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Also check that syscall is supported (doesn't return ENOSYS),<br>
before running actual test. This is to address kernels where<br>
this syscall is disabled by default:<br>
  commit 727f13616c45 ("powerpc: Disable the fast-endian switch syscall by default")<br>
<br>
Signed-off-by: Jan Stancek <<a href="mailto:jstancek@redhat.com">jstancek@redhat.com</a>><br>
---<span class="gmail-HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br><div style="font-family:monospace,monospace;display:inline" class="gmail_default">​Works fine on kernels with/without fast endian-switch syscall​ support.</div></div></div><br><br>-- <br><div class="gmail_signature"><div dir="ltr">Regards,<br>Li Wang<br>Email: <a href="mailto:liwang@redhat.com" target="_blank">liwang@redhat.com</a><br></div></div>
</div></div>