diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-04-08 11:56:57 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-04-08 12:17:31 +0100 |
commit | 95374225e865da3a30153f73e8bb536700d15459 (patch) | |
tree | ab8797a6f255a0d76e5d8e7439b8fe4a9b34ca90 /lib/instdone.h | |
parent | cd64e193299be4b9733a5e804cedd99e2072830f (diff) |
Enable compilation on non-Intel, non-DRM systems.
A few of the tools can be performed post-mortem from a different system,
so it is useful to be able to compile those tools on those foreign
systems. Obviously, any program to interact with the PCI device or talk
to GEM will fail on a non-Intel system.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/instdone.h')
-rw-r--r-- | lib/instdone.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/instdone.h b/lib/instdone.h index ed34f833..c86a54a7 100644 --- a/lib/instdone.h +++ b/lib/instdone.h @@ -25,6 +25,8 @@ * */ +#include <stdint.h> + #define MAX_INSTDONE_BITS 100 struct instdone_bit { @@ -36,4 +38,4 @@ struct instdone_bit { extern struct instdone_bit instdone_bits[MAX_INSTDONE_BITS]; extern int num_instdone_bits; -void init_instdone_definitions(void); +void init_instdone_definitions(uint32_t devid); |