aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorDavid Ng <dave@codeaurora.org>2012-03-05 12:14:19 -0800
committerRicardo Cerqueira <cyanogenmod@cerqueira.org>2012-07-10 23:05:00 +0100
commitf619c672d74c300a5a2b94671d41a18fc01d65df (patch)
tree460f1967767d3b901d51cda931132a4e42f52d36 /init
parent1d88d954525172d6854bb75d29134a2a88d62277 (diff)
downloadsystem_core-f619c672d74c300a5a2b94671d41a18fc01d65df.tar.gz
system_core-f619c672d74c300a5a2b94671d41a18fc01d65df.tar.bz2
system_core-f619c672d74c300a5a2b94671d41a18fc01d65df.zip
init: Increase maximum number of Android properties to 372
(cherry picked from commit 2af5dedb813b5f2fb1355ccf6e4a5de2378665d6) Change-Id: Ic4b45a10196b24ba2e4798fef45a125f9f3dbf15
Diffstat (limited to 'init')
-rw-r--r--init/property_service.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/init/property_service.c b/init/property_service.c
index 0613fb19..7108fd32 100644
--- a/init/property_service.c
+++ b/init/property_service.c
@@ -161,12 +161,12 @@ out:
return -1;
}
-/* (8 header words + 247 toc words) = 1020 bytes */
-/* 1024 bytes header and toc + 247 prop_infos @ 128 bytes = 32640 bytes */
+/* (8 header words + 372 toc words) = 1520 bytes */
+/* 1536 bytes header and toc + 372 prop_infos @ 128 bytes = 49152 bytes */
-#define PA_COUNT_MAX 247
-#define PA_INFO_START 1024
-#define PA_SIZE 32768
+#define PA_COUNT_MAX 372
+#define PA_INFO_START 1536
+#define PA_SIZE 49152
static workspace pa_workspace;
static prop_info *pa_info_array;