[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20061108111907.a534f61d.akpm@osdl.org>
Date: Wed, 8 Nov 2006 11:19:07 -0800
From: Andrew Morton <akpm@...l.org>
To: Mariusz Kozlowski <m.kozlowski@...land.pl>
Cc: "Hesse, Christian" <mail@...thworm.de>,
linux-kernel@...r.kernel.org, Andi Kleen <ak@...e.de>
Subject: Re: 2.6.19-rc5-mm1
On Wed, 8 Nov 2006 15:57:20 +0100
Mariusz Kozlowski <m.kozlowski@...land.pl> wrote:
> CC [M] drivers/media/video/pwc/pwc-uncompress.o
> In file included from drivers/media/video/pwc/pwc-uncompress.c:29:
> include/asm/current.h: In function `get_current':
> include/asm/current.h:11: error: `size_t' undeclared (first use in this function)
> include/asm/current.h:11: error: (Each undeclared identifier is reported only once
> include/asm/current.h:11: error: for each function it appears in.)
Ah, you're i386, not x86_64. This should help.
From: Andrew Morton <akpm@...l.org>
i386's pda.h needs types.h for size_t (used by offsetof if gcc-3)
Cc: Mariusz Kozlowski <m.kozlowski@...land.pl>,
Cc: Andi Kleen <ak@...e.de>
Cc: Jeremy Fitzhardinge <jeremy@...p.org>
Signed-off-by: Andrew Morton <akpm@...l.org>
---
include/asm-i386/pda.h | 1 +
1 files changed, 1 insertion(+)
diff -puN include/asm-i386/current.h~fix-x86_64-mm-pda-current include/asm-i386/current.h
diff -puN include/asm-i386/pda.h~fix-x86_64-mm-pda-current include/asm-i386/pda.h
--- a/include/asm-i386/pda.h~fix-x86_64-mm-pda-current
+++ a/include/asm-i386/pda.h
@@ -7,6 +7,7 @@
#define _I386_PDA_H
#include <linux/stddef.h>
+#include <linux/types.h>
struct i386_pda
{
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists