Skip to contentSkip to conversation

Fix compilation on arm in -rc1-git

PATCH Pavel Machek 2 participants 2 messages Jul 12, 2006

lore
Share & tools
lore
#0 lore raw

Hi!

After latest git update, I was getting compile errors until doing:

Fix compilation on ARM. Not sure if it is the clean fix.

---
commit 80a1958320e8e055029fea08ac7523d069cb1855 tree 5f6afc72867ea56bab33b2c31b2b12b499239071 parent 12280deab4c82a57c766eb0321b6edf8e323a50e author <[email protected]> Wed, 12 Jul 2006 13:11:06 +0200 committer <[email protected]> Wed, 12 Jul 2006 13:11:06 +0200

 include/linux/root_dev.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/linux/root_dev.h +1 -0
index ea4bc9d..09247d6 100644
@@ -2,6 +2,7 @@
 #define _ROOT_DEV_H_
 
 #include <linux/major.h>
+#include <linux/kdev_t.h>
 
 enum {
 	Root_NFS = MKDEV(UNNAMED_MAJOR, 255),
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#1 lore raw
Quoted 1 line · Pavel Machek

After latest git update, I was getting compile errors until doing:

I've sent a better fix to Linus, Andrew, lkml, etc yesterday evening - part of the "RFC: cleaning up the in-kernel headers" thread.

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core