Fwd: [Suspend2-devel] [patch] 2.2.10.3 build fixes

From: Nigel Cunningham
Date: Sun Sep 30 2007 - 07:44:21 EST


Hi Rafael et al.

This looks like it will be vanilla material, maybe 2.6.23 material?

Regards,

Nigel
---------- Forwarded Message ----------

Subject: [Suspend2-devel] [patch] 2.2.10.3 build fixes
Date: Sunday 30 September 2007
From: "Roman Dubtsov" (dubtsov gmail com)

Hi,

I have recently run into build issue with 2.6.22 and tuxonice
2.2.10.3. When building custom kernel with make-kpkg the process
failed with the message saying: "fs.h requires linux/freezer.h, which
does not exist in exported headers". Here's quick-n-dirty patch which
fixes this. Hope it is usefull.

--- 2.6.22-toi/include/linux/Kbuild.orig 2007-09-30 01:21:30.000000000 +0700
+++ 2.6.22-toi/include/linux/Kbuild 2007-09-29 23:52:52.000000000 +0700
@@ -202,6 +202,7 @@ unifdef-y += filter.h
unifdef-y += flat.h
unifdef-y += futex.h
unifdef-y += fs.h
+unifdef-y += freezer.h
unifdef-y += gameport.h
unifdef-y += generic_serial.h
unifdef-y += genhd.h

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/