Re: [PATCH 4/4] FRV: Fix linux/elf-fdpic.h

Lars-Peter Clausen <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.uclinux.devel
Message-ID <[email protected]>
On 10/15/2012 01:44 PM, David Howells wrote:
> It seems I accidentally switched the guard on linux/elf-fdpic.h from #ifdef
> __KERNEL__ to #ifndef __KERNEL__ when attempting to expand the guarded region
> to cover the elf_fdpic_params struct when doing the UAPI split - with the
> result that the struct became unavailable to kernel code.
> 
> Move incorrectly guarded bits back to the kernelspace header.
> 
> Whilst we're at it, the __KERNEL__ guards can be deleted as they're no longer
> necessary.
> 
> Reported-by: Fengguang Wu <[email protected]>
> Reported-by: Lars-Peter Clausen <[email protected]>
> Signed-off-by: David Howells <[email protected]>
> cc: Fengguang Wu <[email protected]>
> cc: Lars-Peter Clausen <[email protected]>
> cc: [email protected]
> ---
> 
>  include/uapi/linux/elf-fdpic.h |   42 +++-------------------------------------

>  1 file changed, 3 insertions(+), 39 deletions(-)

The second part of the patch adding it back to include/linux/elf-fdpic.h
seems to be missing.


Thanks,
- Lars
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.