aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/android/Kconfig13
-rw-r--r--drivers/android/binder.c4
-rw-r--r--include/uapi/linux/android/binder.h9
3 files changed, 0 insertions, 26 deletions
diff --git a/drivers/android/Kconfig b/drivers/android/Kconfig
index bdfc6c6f4..4f6629d33 100644
--- a/drivers/android/Kconfig
+++ b/drivers/android/Kconfig
@@ -19,19 +19,6 @@ config ANDROID_BINDER_IPC
Android process, using Binder to identify, invoke and pass arguments
between said processes.
-config ANDROID_BINDER_IPC_32BIT
- bool
- depends on !64BIT && ANDROID_BINDER_IPC
- default y
- ---help---
- The Binder API has been changed to support both 32 and 64bit
- applications in a mixed environment.
-
- Enable this to support an old 32-bit Android user-space (v4.4 and
- earlier).
-
- Note that enabling this will break newer Android user-space.
-
endif # if ANDROID
endmenu
diff --git a/drivers/android/binder.c b/drivers/android/binder.c
index 5fc0ab122..4c045c9e4 100644
--- a/drivers/android/binder.c
+++ b/drivers/android/binder.c
@@ -45,10 +45,6 @@
#include <linux/rtc.h>
#include <linux/aee.h>
-#ifdef CONFIG_ANDROID_BINDER_IPC_32BIT
-#define BINDER_IPC_32BIT 1
-#endif
-
#ifdef CONFIG_MT_PRIO_TRACER
#include <linux/prio_tracer.h>
#endif
diff --git a/include/uapi/linux/android/binder.h b/include/uapi/linux/android/binder.h
index c653800b3..69cbd99fa 100644
--- a/include/uapi/linux/android/binder.h
+++ b/include/uapi/linux/android/binder.h
@@ -39,13 +39,8 @@ enum {
FLAT_BINDER_FLAG_ACCEPTS_FDS = 0x100,
};
-#ifdef BINDER_IPC_32BIT
-typedef __u32 binder_size_t;
-typedef __u32 binder_uintptr_t;
-#else
typedef __u64 binder_size_t;
typedef __u64 binder_uintptr_t;
-#endif
/*
* This is the flattened representation of a Binder object for transfer
@@ -90,11 +85,7 @@ struct binder_version {
};
/* This is the current protocol version. */
-#ifdef BINDER_IPC_32BIT
-#define BINDER_CURRENT_PROTOCOL_VERSION 7
-#else
#define BINDER_CURRENT_PROTOCOL_VERSION 8
-#endif
#define BINDER_WRITE_READ _IOWR('b', 1, struct binder_write_read)
#define BINDER_SET_IDLE_TIMEOUT _IOW('b', 3, __s64)