Debian (IIRC, the unstable one) has started putting 2.6 headers in
/usr/include/asm, and this has given a compilation error with UML. Attached
there is a fix for 2.6, which makes the source detect and use the correct
structure name. So this patch doesn't hurt who hasn't that problem.
For 2.4 I'm not attaching a fix since the code has been commented out in
2.4.23-1um (the comment says this doesn't work in TT mode, but making the
code a no-op for TT mode is easy). The idea comes from the hostfs Makefile.
Paolo Giarrusso, aka Blaisorblade
Linux Kernel 2.4.21/2.6.0-test on an i686; Linux registered user n. 292729
Get latest updates about Open Source Projects, Conferences and News.