Skip to contentSkip to conversation

git - compile error ratelimit - missing include <linux/ratelimit.h>

DISCUSSION Michael Breuer 2 participants 3 messages Dec 5, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Building today in git - kernel 2.6.32 (git) + nouveau (git).

Failed as nouveau_irq.c doesn't include <linux/ratelimit.h>

Added the include to nouveau_irq.c and was able to compile... not sure that's where it ought to go.

#2 lore raw
In reply to a message not in the archive
Quoted 6 lines · On Sat, 05 Dec 2009 15:16:09 -0500 Michael Breuer…

Building today in git - kernel 2.6.32 (git) + nouveau (git).

Failed as nouveau_irq.c doesn't include <linux/ratelimit.h>

Added the include to nouveau_irq.c and was able to compile... not sure that's where it ought to go.

Aha, that problem wasn't there with 2.6.31-rc9 which is what Nouveau is still based on.

I'll push a fix shortly, thanks.

Signature · 2 lines
Pekka Paalanen
http://www.iki.fi/pq/
#3 lore raw
In reply to a message not in the archive
Quoted 6 lines · On Sat, 05 Dec 2009 15:16:09 -0500 Michael Breuer…

Building today in git - kernel 2.6.32 (git) + nouveau (git).

Failed as nouveau_irq.c doesn't include <linux/ratelimit.h>

Added the include to nouveau_irq.c and was able to compile... not sure that's where it ought to go.

Okay, a fix pushed. Let me know, if it is still broken.

Signature · 2 lines
Pekka Paalanen
http://www.iki.fi/pq/