Commit 178282a0 authored by Michael Ellerman's avatar Michael Ellerman

selftests/powerpc: Include asm/cputable.h from utils.h

utils.h provides have_hwcap() and have_hwcap2() which check for a
feature bit. Those bits are defined in asm/cputable.h, so include it
in utils.h so users of utils.h don't have to do it manually.
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200819015727.1977134-4-mpe@ellerman.id.au
parent d8900239
......@@ -55,8 +55,6 @@
#include <setjmp.h>
#include <signal.h>
#include <asm/cputable.h>
#include "utils.h"
#include "instructions.h"
......
......@@ -12,6 +12,7 @@
#include <stdbool.h>
#include <linux/auxvec.h>
#include <linux/perf_event.h>
#include <asm/cputable.h>
#include "reg.h"
/* Avoid headaches with PRI?64 - just use %ll? always */
......
......@@ -9,7 +9,6 @@
#include <stdbool.h>
#include <string.h>
#include <sys/prctl.h>
#include <asm/cputable.h>
#include "event.h"
#include "utils.h"
......
......@@ -12,8 +12,6 @@
#include <string.h>
#include <sys/prctl.h>
#include <asm/cputable.h>
#include "event.h"
#include "lib.h"
#include "utils.h"
......
......@@ -4,7 +4,7 @@
#include <string.h>
#include <sys/mman.h>
#include <time.h>
#include <asm/cputable.h>
#include "utils.h"
#define SIZE 256
......
......@@ -6,9 +6,8 @@
#ifndef _SELFTESTS_POWERPC_TM_TM_H
#define _SELFTESTS_POWERPC_TM_TM_H
#include <asm/tm.h>
#include <asm/cputable.h>
#include <stdbool.h>
#include <asm/tm.h>
#include "utils.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment