public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
To: akpm@linux-foundation.org
Cc: Thomas Gleixner <tglx@linutronix.de>, linux-kernel@vger.kernel.org
Subject: [PATCH] linux/cache.h export - workaround for headers_check error (Re: mm snapshot broken-out-2007-06-27-03-28.tar.gz uploaded)
Date: Wed, 27 Jun 2007 14:25:06 +0200	[thread overview]
Message-ID: <46825722.7030702@googlemail.com> (raw)
In-Reply-To: <200706271030.l5RAUgKE015163@imap1.linux-foundation.org>

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 */


  reply	other threads:[~2007-06-27 12:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-27 10:30 mm snapshot broken-out-2007-06-27-03-28.tar.gz uploaded akpm
2007-06-27 12:25 ` Michal Piotrowski [this message]
2007-06-27 20:22 ` [PATCH] balance parenthesis in serial core Mariusz Kozlowski
2007-06-27 20:37   ` Andrew Morton
2007-06-27 20:42     ` David Woodhouse
2007-06-27 20:49       ` Andrew Morton
2007-06-27 22:06   ` Alan Cox
2007-06-27 21:50 ` [PATCH] mtd: add module license to mtdbdi Mariusz Kozlowski
2007-06-28  7:21   ` David Howells
2007-06-27 22:57 ` mm snapshot broken-out-2007-06-27-03-28.tar.gz uploaded Mariusz Kozlowski
2007-06-27 23:09   ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46825722.7030702@googlemail.com \
    --to=michal.k.k.piotrowski@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox