- Subject: Re: [PATCH 11/11] asm-generic: add linux/types.h to cmpxchg.h
- From: David Howells <dhowells@xxxxxxxxxx>
- Date: Mon, 02 Apr 2012 06:53:45 +0100
- Cc: dhowells@xxxxxxxxxx, torvalds@xxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-next@xxxxxxxxxxxxxxx, Arnd Bergmann <arnd@xxxxxxxx>, Jonas Bonn <jonas@xxxxxxxxxxxx>
- In-reply-to: <1333312727-11428-12-git-send-email-paul.gortmaker@windriver.com>
- Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903
- References: <1333312727-11428-12-git-send-email-paul.gortmaker@windriver.com> <1333312727-11428-1-git-send-email-paul.gortmaker@windriver.com>
Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> wrote:
> Builds of the openrisc or1ksim_defconfig show the following:
>
> In file included from arch/openrisc/include/generated/asm/cmpxchg.h:1:0,
> from include/asm-generic/atomic.h:18,
> from arch/openrisc/include/generated/asm/atomic.h:1,
> from include/linux/atomic.h:4,
> from include/linux/dcache.h:4,
> from fs/notify/fsnotify.c:19:
> include/asm-generic/cmpxchg.h: In function '__xchg':
> include/asm-generic/cmpxchg.h:34:20: error: expected ')' before 'u8'
> include/asm-generic/cmpxchg.h:34:20: warning: type defaults to 'int' in type name
>
> and many more lines of similar errors. It seems specific to the or32
> because most other platforms have an arch specific component that would
> have already included types.h ahead of time, but the o32 does not.
>
> Cc: Arnd Bergmann <arnd@xxxxxxxx>
> Cc: Jonas Bonn <jonas@xxxxxxxxxxxx>
> Signed-off-by: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>
Acked-by: David Howells <dhowells@xxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]