Martin Michlmayr wrote: > * Marc 'HE' Brockschmidt <[EMAIL PROTECTED]> [2006-06-13 00:31]: > > /usr/include/asm/cpu-features.h:15:35: error: cpu-feature-overrides.h: No > > such file or directory > > In file included from /usr/include/linux/bitops.h:77, > > This is because the mips/mipsel kernel headers don't ship a generic > cpu-feature-overrides.h file. About 5 packages fail to build this way > on mips/mipsel. I'm not quite sure what to do about it. Personally, > I think those packages shouldn't rely on this header, but maybe we > should provide it... Thiemo, what do you think?
Using this header in userspace is a bug. It might work for other architectures if you are lucky, but it won't work on mips, where the bitops implementation depends on specific CPU features. Just take set_bit as example, it disables/enables interrupts for the atomics emulation case. Thiemo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]