Merge pull request #182 from SeannyM/fix-compile

Fix compilation errors
This commit is contained in:
bunnei 2014-11-02 18:57:30 -05:00
commit 5a1de3366c

View File

@ -44,7 +44,7 @@
#define pr_info //printf #define pr_info //printf
#define pr_debug //printf #define pr_debug //printf
static u32 fls(int x); static u32 fls(ARMword x);
#define do_div(n, base) {n/=base;} #define do_div(n, base) {n/=base;}
/* From vfpinstr.h */ /* From vfpinstr.h */
@ -502,7 +502,7 @@ struct op {
u32 flags; u32 flags;
}; };
static u32 fls(int x) static u32 fls(ARMword x)
{ {
int r = 32; int r = 32;