Skip to content

Commit

Permalink
check_hwcaps: check s390_host_has_ldisp only on s390x hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
mephi42 authored and rhelmot committed Sep 26, 2018
1 parent 5336b3e commit adf4d8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions priv/main_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2087,9 +2087,11 @@ static void check_hwcaps ( VexArch arch, UInt hwcaps )
return;

case VexArchS390X:
#if defined(__s390x__)
if (! s390_host_has_ldisp)
invalid_hwcaps(arch, hwcaps,
"Host does not have long displacement facility.\n");
#endif
return;

case VexArchMIPS32:
Expand Down

0 comments on commit adf4d8d

Please sign in to comment.