arm: Fix build following c/s 8e2aa76dc
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 29 May 2020 21:23:59 +0000 (22:23 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 29 May 2020 21:27:50 +0000 (22:27 +0100)
commitcc07818e5e475c4ac0ee88130a2d4b329a53651e
tree0919b311f228502f9cec64ed70b1201ffb730e2c
parent422ec8fcf34cf961e81fbccd7d236fa2c1e678a8
arm: Fix build following c/s 8e2aa76dc

The ARM side of the cpu_nr_siblings() was missing a return type.  OSSTest
reports:

  /home/osstest/build.150502.build-arm64-xsm/xen/xen/include/asm/cpufeature.h:67:15:
  error: return type defaults to 'int' [-Werror=implicit-int]
   static inline cpu_nr_siblings(unsigned int)
                 ^~~~~~~~~~~~~~~

My local build test then reported:

  /local/xen.git/xen/include/asm/cpufeature.h: In function ‘cpu_nr_siblings’:
  /local/xen.git/xen/include/asm/cpufeature.h:67:1: error: parameter name omitted
   static inline int cpu_nr_siblings(unsigned int)
    ^

Fix it up to match its x86 counterpart.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/asm-arm/cpufeature.h