Skip to content

Commit c86576e

Browse files
committed
mn10300: Select CONFIG_HAVE_UID16 to fix build failure
mn10300 builds fail with fs/stat.c: In function 'cp_old_stat': fs/stat.c:163:2: error: 'old_uid_t' undeclared ipc/util.c: In function 'ipc64_perm_to_ipc_perm': ipc/util.c:540:2: error: 'old_uid_t' undeclared Select CONFIG_HAVE_UID16 and remove local definition of CONFIG_UID16 to fix the problem. Fixes: fbc416f ("arm64: fix building without CONFIG_UID16") Cc: Arnd Bergmann <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Acked-by: Acked-by: David Howells <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
1 parent 31ade3b commit c86576e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

arch/mn10300/Kconfig

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
config MN10300
22
def_bool y
33
select HAVE_OPROFILE
4+
select HAVE_UID16
45
select GENERIC_IRQ_SHOW
56
select ARCH_WANT_IPC_PARSE_VERSION
67
select HAVE_ARCH_TRACEHOOK
@@ -37,9 +38,6 @@ config HIGHMEM
3738
config NUMA
3839
def_bool n
3940

40-
config UID16
41-
def_bool y
42-
4341
config RWSEM_GENERIC_SPINLOCK
4442
def_bool y
4543

0 commit comments

Comments
 (0)