xen/credit2: Fix build following c/s 8e2aa76dc (take 2)
authorAndrew Cooper <andrew.cooper3@citrix.com>
Sat, 30 May 2020 00:52:13 +0000 (01:52 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Sat, 30 May 2020 00:56:01 +0000 (01:56 +0100)
commitad33a573c009d72466432b41ba0591c64e819c19
treec908296cc9222810e00c823e75b2c791fadfb75c
parentb586a81b7a90d424b54275c79e759b0294aa2fb6
xen/credit2: Fix build following c/s 8e2aa76dc (take 2)

OSSTest reports:

  credit2.c: In function 'cpu_runqueue_siblings_match':
  credit2.c:883:29: error: implicit declaration of function 'cpu_nr_siblings' [-Werror=implicit-function-declaration]
       unsigned int nr_sibls = cpu_nr_siblings(cpu);
                               ^~~~~~~~~~~~~~~
  credit2.c:883:5: error: nested extern declaration of 'cpu_nr_siblings' [-Werror=nested-externs]
       unsigned int nr_sibls = cpu_nr_siblings(cpu);
       ^~~~~~~~
  cc1: all warnings being treated as errors

For whatever reason, cpufeature.h's inclusion is conditional, and missing for
arm32.  Inlcude it explicitly.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/sched/credit2.c