summaryrefslogtreecommitdiff
path: root/lib/rwsem.c
diff options
context:
space:
mode:
authorDaniel Walker <c_dwalke@quicinc.com>2010-03-16 23:29:44 (GMT)
committerDaniel Walker <dwalker@codeaurora.org>2010-05-12 16:18:32 (GMT)
commitbf83de4037780b11b27f1e32e33c1e8e7e42602e (patch)
treeb2baf37c32a4b4fc036383162b4fcb8eb241e4ed /lib/rwsem.c
parent79848a2a7333eee6424b38c05b4ea4a0ce56eb47 (diff)
downloadlinux-bf83de4037780b11b27f1e32e33c1e8e7e42602e.tar.xz
arm: msm: smd: use either package v3 or v4 not both
This modifies SMD to use either the package v3 or package v4, but not both. The current code tries to allocate as v4 on all system which can produce a scary looking error message on boot up, smem_find(16, 40): wrong size 16424 smd_alloc_channel() cid=02 size=08192 'SMD_RPCCALL' With this error the code then falls back on the package v3 allocation method. This method is inefficient because it causes a slow down on some systems even when the allocation method can be determined at compile time. It also causes a kernel size increase that effects all system and is not needed. This change corrects the allocation to use one method or the other and not both. Signed-off-by: Daniel Walker <c_dwalke@quicinc.com>
Diffstat (limited to 'lib/rwsem.c')
0 files changed, 0 insertions, 0 deletions