summaryrefslogtreecommitdiffstats
path: root/arch/nios2/include/asm/uaccess.h
Commit message (Collapse)AuthorAgeFilesLines
* nios2: fix __get_user()Al Viro2016-09-131-2/+2
| | | | | | | | a) should not leave crap on fault b) should _not_ require access_ok() in any cases. Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* nios2: copy_from_user() should zero the tail of destinationAl Viro2016-09-131-3/+6
| | | | | Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* nios2/uaccess: fix sparse errorsLey Foon Tan2014-12-171-2/+2
| | | | | | | | | | | virtio wants to read bitwise types from userspace using get_user. At the moment this triggers sparse errors, since the value is passed through an integer. Fix that up using __force. Suggested-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Ley Foon Tan <lftan@altera.com>
* nios2: Memory managementLey Foon Tan2014-12-081-0/+231
This patch contains the initialisation of the memory blocks, MMU attributes and the memory map. Signed-off-by: Ley Foon Tan <lftan@altera.com>