summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/flat.h
Commit message (Collapse)AuthorAgeFilesLines
* binfmt_flat: remove the persistent argument from flat_get_addr_from_rpChristoph Hellwig2019-06-241-1/+1
| | | | | | | The argument is never used. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
* binfmt_flat: provide an asm-generic/flat.hChristoph Hellwig2019-06-241-0/+26
This file implements the flat get/put reloc helpers for architectures that do not need to overload the relocs by simply using get_user/put_user. Note that many nommu architectures currently use {get,put}_unaligned, which looks a little bogus and should probably later be switched over to this version as well. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com> Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>