]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
FRV: Fix linux/elf-fdpic.h
authorDavid Howells <dhowells@redhat.com>
Mon, 15 Oct 2012 23:10:35 +0000 (00:10 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Oct 2012 01:49:15 +0000 (18:49 -0700)
commit0c552e5fb9bec3d4942663a2a90e04a685fd8482
tree451c92454c26c05ecf1702f3317b9a3e2a7864f6
parentb4b5087173d09507f425714bc8d270615e5800b1
FRV: Fix linux/elf-fdpic.h

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@intel.com>
Reported-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Fengguang Wu <fengguang.wu@intel.com>
cc: Lars-Peter Clausen <lars@metafoo.de>
cc: uclinux-dev@uclinux.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/elf-fdpic.h [new file with mode: 0644]
include/uapi/linux/elf-fdpic.h