diff options
author | Guenter Roeck <linux@roeck-us.net> | 2015-11-28 08:52:04 -0800 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2016-02-12 08:58:02 +0100 |
commit | f5e77f5af2a976e6f24feb1fcdd2a6198ae8568b (patch) | |
tree | 6341db2524fd33cbc0e8b6e6a301be1797ec67bc | |
parent | 19a3cb322e06127f8d09050f29302d41eda2f853 (diff) | |
download | lwn-f5e77f5af2a976e6f24feb1fcdd2a6198ae8568b.tar.gz lwn-f5e77f5af2a976e6f24feb1fcdd2a6198ae8568b.zip |
mn10300: Select CONFIG_HAVE_UID16 to fix build failure
commit c86576ea114a9a881cf7328dc7181052070ca311 upstream.
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: fbc416ff8618 ("arm64: fix building without CONFIG_UID16")
Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
-rw-r--r-- | arch/mn10300/Kconfig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mn10300/Kconfig b/arch/mn10300/Kconfig index 6aaa1607001a..c61bf144b8f2 100644 --- a/arch/mn10300/Kconfig +++ b/arch/mn10300/Kconfig @@ -1,6 +1,7 @@ config MN10300 def_bool y select HAVE_OPROFILE + select HAVE_UID16 select GENERIC_IRQ_SHOW select ARCH_WANT_IPC_PARSE_VERSION select HAVE_ARCH_TRACEHOOK @@ -37,9 +38,6 @@ config HIGHMEM config NUMA def_bool n -config UID16 - def_bool y - config RWSEM_GENERIC_SPINLOCK def_bool y |