Build failures in -next: sys_pkey_mprotect etc. undefined

From: Guenter Roeck
Date: Mon Sep 12 2016 - 10:55:46 EST


Building h8300:allnoconfig ... failed
Building h8300:h8300h-sim_defconfig ... failed
Building c6x:dsk6455_defconfig ... failed

[ and more builds for the same architectures ]

--------------
Error log:
arch/h8300/kernel/built-in.o:(.data+0x480): undefined reference to `sys_pkey_mprotect'
arch/h8300/kernel/built-in.o:(.data+0x484): undefined reference to `sys_pkey_alloc'
arch/h8300/kernel/built-in.o:(.data+0x488): undefined reference to `sys_pkey_free'

Other architectures (frv, xtensa, score) currently fail to build for other reasons,
so I don't really know if the above are the only ones affected.

Guenter