• Russell King's avatar
    [ARM] nommu: uaccess tweaks · 9641c7cc
    Russell King authored
    MMUless systems have only one address space for all threads, so
    both the usual access_ok() checks, and the exception handling do
    not make much sense.
    
    Hence, discard the fixup and exception tables at link time, use
    memcpy/memset for the user copy/clearing functions, and define
    the permission check macros to be constants.
    
    Some of this patch was derived from the equivalent patch by
    Hyok S. Choi.
    Signed-off-by: default avatarHyok S. Choi <hyok.choi@samsung.com>
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    9641c7cc
uaccess.h 12 KB