diff options
| author | Guenter Roeck <linux@roeck-us.net> | 2015-11-28 11:52:04 -0500 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2015-11-30 10:01:40 -0500 |
| commit | c86576ea114a9a881cf7328dc7181052070ca311 (patch) | |
| tree | 5ec94bf7c11eb246a3de33d6177bd450a2ad5c37 | |
| parent | 31ade3b83e1821da5fbb2f11b5b3d4ab2ec39db8 (diff) | |
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: 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>
| -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 4434b54e1d87..78ae5552fdb8 100644 --- a/arch/mn10300/Kconfig +++ b/arch/mn10300/Kconfig | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | config MN10300 | 1 | config MN10300 |
| 2 | def_bool y | 2 | def_bool y |
| 3 | select HAVE_OPROFILE | 3 | select HAVE_OPROFILE |
| 4 | select HAVE_UID16 | ||
| 4 | select GENERIC_IRQ_SHOW | 5 | select GENERIC_IRQ_SHOW |
| 5 | select ARCH_WANT_IPC_PARSE_VERSION | 6 | select ARCH_WANT_IPC_PARSE_VERSION |
| 6 | select HAVE_ARCH_TRACEHOOK | 7 | select HAVE_ARCH_TRACEHOOK |
| @@ -37,9 +38,6 @@ config HIGHMEM | |||
| 37 | config NUMA | 38 | config NUMA |
| 38 | def_bool n | 39 | def_bool n |
| 39 | 40 | ||
| 40 | config UID16 | ||
| 41 | def_bool y | ||
| 42 | |||
| 43 | config RWSEM_GENERIC_SPINLOCK | 41 | config RWSEM_GENERIC_SPINLOCK |
| 44 | def_bool y | 42 | def_bool y |
| 45 | 43 | ||
