lkml.org 
[lkml]   [2007]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH] linux/cache.h export - workaround for headers_check error (Re: mm snapshot broken-out-2007-06-27-03-28.tar.gz uploaded)
From
Hi,

akpm@linux-foundation.org pisze:
> The mm snapshot broken-out-2007-06-27-03-28.tar.gz has been uploaded to
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-06-27-03-28.tar.gz
>
> It contains the following patches against 2.6.22-rc6:
>

I get this error while headers_check due to ntp-move-the-cmos-update-code-into-ntpc-fix.patch

/home/devel/linux-work2/usr/include/linux/time.h requires linux/cache.h, which does not exist in exported headers
make[3]: *** [/home/devel/linux-work2/usr/include/linux/.check.time.h] Error 1
make[2]: *** [linux] Error 2
make[1]: *** [headers_check] Error 2
make: *** [vmlinux] Error 2

Here is a workaround.

Regards,
Michal

--
LOG
http://www.stardust.webpages.pl/log/

Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>

--- linux-work2-clean/include/linux/Kbuild 2007-06-27 13:00:50.000000000 +0200
+++ linux-work2/include/linux/Kbuild 2007-06-27 13:51:24.000000000 +0200
@@ -174,6 +174,7 @@ unifdef-y += atm_tcp.h
unifdef-y += audit.h
unifdef-y += auto_fs.h
unifdef-y += binfmts.h
+unifdef-y += cache.h
unifdef-y += capability.h
unifdef-y += capi.h
unifdef-y += cciss_ioctl.h
--- linux-work2-clean/include/linux/cache.h 2007-02-04 19:44:54.000000000 +0100
+++ linux-work2/include/linux/cache.h 2007-06-27 13:50:53.000000000 +0200
@@ -1,6 +1,8 @@
#ifndef __LINUX_CACHE_H
#define __LINUX_CACHE_H

+#ifdef __KERNEL__
+
#include <linux/kernel.h>
#include <asm/cache.h>

@@ -60,4 +62,6 @@
#endif
#endif

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

\
 
 \ /
  Last update: 2007-06-27 14:29    [W:0.050 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site