Re: [PATCH 4/4] FRV: Fix linux/elf-fdpic.h
From: Lars-Peter Clausen
Date: Mon Oct 15 2012 - 08:14:27 EST
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 <fengguang.wu@xxxxxxxxx>
> Reported-by: Lars-Peter Clausen <lars@xxxxxxxxxx>
> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
> cc: Fengguang Wu <fengguang.wu@xxxxxxxxx>
> cc: Lars-Peter Clausen <lars@xxxxxxxxxx>
> cc: uclinux-dev@xxxxxxxxxxx
> ---
>
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/