selftests/powerpc: Move pick_online_cpu() up into utils.c

We want to use this in another test, so make it available at the top of
the powerpc selftests tree.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
Michael Ellerman
2015-12-16 18:59:31 +11:00
parent 00b912b0c8
commit d1301afd71
5 changed files with 31 additions and 28 deletions

View File

@@ -22,6 +22,7 @@ typedef uint8_t u8;
int test_harness(int (test_function)(void), char *name);
extern void *get_auxv_entry(int type);
int pick_online_cpu(void);
static inline bool have_hwcap2(unsigned long ftr2)
{