]> asedeno.scripts.mit.edu Git - linux.git/commit
soc: qcom: smem: Handle big endian CPUs
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 2 Sep 2015 22:46:45 +0000 (15:46 -0700)
committerAndy Gross <agross@codeaurora.org>
Wed, 14 Oct 2015 19:51:20 +0000 (14:51 -0500)
commit9806884d8cd552e6926c162a022cc4b948f4abc8
tree375b728da01197c50183643109a8128bdbb1b798
parent1a03964dec3cecb6382d172b9dfe318735c2cad7
soc: qcom: smem: Handle big endian CPUs

The contents of smem are always in little endian, but the smem
driver is not capable of being used on big endian CPUs. Annotate
the little endian data members and update the code to do the
proper byte swapping.

Cc: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Andy Gross <agross@codeaurora.org>
drivers/soc/qcom/smem.c