re PR go/89407 (go bootstrap failure on s390x starting with r268941)

PR go/89407
    internal/cpu: use #ifdef __s390x__ in C code
    
    Patch by Jakub Jelinek.
    
    Fixes https://gcc.gnu.org/PR89407
    
    Reviewed-on: https://go-review.googlesource.com/c/163297

From-SVN: r269063
This commit is contained in:
Ian Lance Taylor 2019-02-21 01:06:01 +00:00
parent a9977ffb13
commit 556bef7efc
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
23f39fa450b84e81c5c39a7a840fcc88eeeea764
43e458ab704e04cdf347f3e74e0b0eff3de00a3d
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.

View File

@ -71,7 +71,7 @@ struct xgetbv_ret xgetbv(void) {
#endif /* defined(__i386__) || defined(__x86_64__) */
#ifdef __s390__
#ifdef __s390x__
struct facilityList {
uint64_t bits[4];
@ -184,4 +184,4 @@ struct queryResult klmdQuery() {
return ret;
}
#endif /* defined(__s390__) */
#endif /* defined(__s390x__) */