Skip to content

Commit

Permalink
Merge branch 'nortas' of https://github.com/gyakovlev/util-linux
Browse files Browse the repository at this point in the history
* 'nortas' of https://github.com/gyakovlev/util-linux:
  lscpu: fix build on powerpc
  • Loading branch information
karelzak committed Jun 3, 2021
2 parents daf9f2e + 45cd3aa commit 780f0f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sys-utils/lscpu-cputype.c
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ int lscpu_read_archext(struct lscpu_cxt *cxt)
}

#if defined(HAVE_LIBRTAS)
/* Get PowerPC speficic info */
/* Get PowerPC specific info */
if (!cxt->noalive) {
int rc, len, ntypes;

Expand All @@ -745,8 +745,8 @@ int lscpu_read_archext(struct lscpu_cxt *cxt)
ct->physsockets = strbe16toh(buf, 4);
ct->physchips = strbe16toh(buf, 6);
ct->physcoresperchip = strbe16toh(buf, 8);
nortas:
}
nortas:
#endif
return 0;
}
Expand Down

0 comments on commit 780f0f8

Please sign in to comment.