Re: 2.6.19-rc5-mm1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 8 Nov 2006 15:57:20 +0100
Mariusz Kozlowski <[email protected]> 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 <[email protected]>

i386's pda.h needs types.h for size_t (used by offsetof if gcc-3)

Cc: Mariusz Kozlowski <[email protected]>,
Cc: Andi Kleen <[email protected]>
Cc: Jeremy Fitzhardinge <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
---

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux