diff options
-rw-r--r-- | arch/mips/include/asm/vdso/vdso.h | 10 | ||||
-rw-r--r-- | arch/mips/vdso/config-n32-o32-env.c | 1 |
2 files changed, 1 insertions, 10 deletions
diff --git a/arch/mips/include/asm/vdso/vdso.h b/arch/mips/include/asm/vdso/vdso.h index 526695bc65ee..737ddfc3411c 100644 --- a/arch/mips/include/asm/vdso/vdso.h +++ b/arch/mips/include/asm/vdso/vdso.h | |||
@@ -6,16 +6,6 @@ | |||
6 | 6 | ||
7 | #include <asm/sgidefs.h> | 7 | #include <asm/sgidefs.h> |
8 | 8 | ||
9 | #if _MIPS_SIM != _MIPS_SIM_ABI64 && defined(CONFIG_64BIT) | ||
10 | |||
11 | /* Building 32-bit VDSO for the 64-bit kernel. Fake a 32-bit Kconfig. */ | ||
12 | #undef CONFIG_64BIT | ||
13 | #define CONFIG_32BIT 1 | ||
14 | #ifndef __ASSEMBLY__ | ||
15 | #include <asm-generic/atomic64.h> | ||
16 | #endif | ||
17 | #endif | ||
18 | |||
19 | #ifndef __ASSEMBLY__ | 9 | #ifndef __ASSEMBLY__ |
20 | 10 | ||
21 | #include <asm/asm.h> | 11 | #include <asm/asm.h> |
diff --git a/arch/mips/vdso/config-n32-o32-env.c b/arch/mips/vdso/config-n32-o32-env.c index da4994b2b3e5..7f8d957abd4a 100644 --- a/arch/mips/vdso/config-n32-o32-env.c +++ b/arch/mips/vdso/config-n32-o32-env.c | |||
@@ -12,6 +12,7 @@ | |||
12 | 12 | ||
13 | #define CONFIG_32BIT 1 | 13 | #define CONFIG_32BIT 1 |
14 | #define CONFIG_GENERIC_ATOMIC64 1 | 14 | #define CONFIG_GENERIC_ATOMIC64 1 |
15 | #define BUILD_VDSO32_64 | ||
15 | 16 | ||
16 | #endif | 17 | #endif |
17 | 18 | ||