x86: move cpuid_count_leaf from cpuid.c to processor.h.
authorYi Sun <yi.y.sun@linux.intel.com>
Tue, 1 Aug 2017 09:04:00 +0000 (11:04 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 3 Aug 2017 10:31:15 +0000 (12:31 +0200)
commit869a4b47c9993d13264fc1ed87fa1260fe0e7cb4
treea3b7bfea6cca5769a5e71264ea2c69eae467b534
parentda472f80d2bd60dff24962b11cd9510f74612809
x86: move cpuid_count_leaf from cpuid.c to processor.h.

This patch moves 'cpuid_count_leaf' from cpuid.c to processor.h to
make it available to external codes.

Signed-off-by: Yi Sun <yi.y.sun@linux.intel.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpuid.c
xen/include/asm-x86/processor.h