diff options
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 3289969ee423..843713c05b79 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -2656,27 +2656,21 @@ config TRAD_SIGNALS | |||
2656 | bool | 2656 | bool |
2657 | 2657 | ||
2658 | config MIPS32_COMPAT | 2658 | config MIPS32_COMPAT |
2659 | bool "Kernel support for Linux/MIPS 32-bit binary compatibility" | 2659 | bool |
2660 | depends on 64BIT | ||
2661 | help | ||
2662 | Select this option if you want Linux/MIPS 32-bit binary | ||
2663 | compatibility. Since all software available for Linux/MIPS is | ||
2664 | currently 32-bit you should say Y here. | ||
2665 | 2660 | ||
2666 | config COMPAT | 2661 | config COMPAT |
2667 | bool | 2662 | bool |
2668 | depends on MIPS32_COMPAT | ||
2669 | select ARCH_WANT_OLD_COMPAT_IPC | ||
2670 | default y | ||
2671 | 2663 | ||
2672 | config SYSVIPC_COMPAT | 2664 | config SYSVIPC_COMPAT |
2673 | bool | 2665 | bool |
2674 | depends on COMPAT && SYSVIPC | ||
2675 | default y | ||
2676 | 2666 | ||
2677 | config MIPS32_O32 | 2667 | config MIPS32_O32 |
2678 | bool "Kernel support for o32 binaries" | 2668 | bool "Kernel support for o32 binaries" |
2679 | depends on MIPS32_COMPAT | 2669 | depends on 64BIT |
2670 | select ARCH_WANT_OLD_COMPAT_IPC | ||
2671 | select COMPAT | ||
2672 | select MIPS32_COMPAT | ||
2673 | select SYSVIPC_COMPAT if SYSVIPC | ||
2680 | help | 2674 | help |
2681 | Select this option if you want to run o32 binaries. These are pure | 2675 | Select this option if you want to run o32 binaries. These are pure |
2682 | 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of | 2676 | 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of |
@@ -2686,7 +2680,10 @@ config MIPS32_O32 | |||
2686 | 2680 | ||
2687 | config MIPS32_N32 | 2681 | config MIPS32_N32 |
2688 | bool "Kernel support for n32 binaries" | 2682 | bool "Kernel support for n32 binaries" |
2689 | depends on MIPS32_COMPAT | 2683 | depends on 64BIT |
2684 | select COMPAT | ||
2685 | select MIPS32_COMPAT | ||
2686 | select SYSVIPC_COMPAT if SYSVIPC | ||
2690 | help | 2687 | help |
2691 | Select this option if you want to run n32 binaries. These are | 2688 | Select this option if you want to run n32 binaries. These are |
2692 | 64-bit binaries using 32-bit quantities for addressing and certain | 2689 | 64-bit binaries using 32-bit quantities for addressing and certain |