• Dave Hansen's avatar
    x86, pkeys: remove cruft from never-merged syscalls · eac0ca77
    Dave Hansen authored
    pkey_set() and pkey_get() were syscalls present in older versions
    of the protection keys patches.  The syscall number definitions
    were inadvertently left in place.  This patch removes them.
    I did a git grep and verified that these are the last places in
    the tree that these appear, save for the protection_keys.c tests
    and Documentation.  Those spots talk about functions called
    pkey_get/set() which are wrappers for the direct PKRU
    instructions, not the syscalls.
    Signed-off-by: default avatarDave Hansen <dave.hansen@linux.intel.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: linux-arch@vger.kernel.org
    Cc: mgorman@techsingularity.net
    Cc: arnd@arndb.de
    Cc: linux-api@vger.kernel.org
    Cc: linux-mm@kvack.org
    Cc: luto@kernel.org
    Cc: akpm@linux-foundation.org
    Fixes: f9afc619
     ("x86: Wire up protection keys system calls")
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>