Ideally the emu10k1 maintainer should have fixed this by now. I'm just an emu10k user.
The problem is: 3 archs (i386, ppc, ppc64) require "unsigned long *" as the
parameter type in bitops (set_bit et al), the others take "void *".
"unsigned int *" triggers compiler warnings: on the 32-bitters the warnings
are just portability hints, but for ppc64 I imagine int != long. (And
consequently emu10k1 is already broken on ppc64.)
So what emu10k1 needs here is either
(a) a fix to make these arrays work even if the element type is 64 bits
(I can't claim to understand the code so I don't want to do that), or
(b) a typedef for a 32-bit type which is "unsigned long" on 32-bitters and
"unsigned int" on 64-bitters; I couldn't find a standard one but I could
certainly invent one for emu10k1's private use.
Suggestions?
/Mikael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/