openrisc: fix CONFIG_UID16 setting
authorAndrew Morton <[email protected]>
Fri, 17 Jul 2015 23:23:28 +0000 (16:23 -0700)
committerLinus Torvalds <[email protected]>
Fri, 17 Jul 2015 23:39:52 +0000 (16:39 -0700)
commit04ea1e91f85615318ea91ce8ab50cb6a01ee4005
tree00a793ea403bf7a1aca6bf4a4db569c690898725
parentfbd7dc744a52ba736f06e112edc31ed9381697d8
openrisc: fix CONFIG_UID16 setting

openrisc-allnoconfig:

  kernel/uid16.c: In function 'SYSC_setgroups16':
  kernel/uid16.c:184:2: error: implicit declaration of function 'groups_alloc'
  kernel/uid16.c:184:13: warning: assignment makes pointer from integer without a cast

openrisc shouldn't be setting CONFIG_UID16 when CONFIG_MULTIUSER=n.

Fixes: 2813893f8b197a1 ("kernel: conditionally support non-root users, groups and capabilities")
Reported-by: Fengguang Wu <[email protected]>
Cc: Iulia Manda <[email protected]>
Cc: Josh Triplett <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/openrisc/Kconfig