summaryrefslogtreecommitdiffstats
path: root/drivers/char/apm-emulation.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-09-03 00:46:45 +0200
committerAndy Gross <agross@codeaurora.org>2015-10-14 21:51:20 +0200
commit9806884d8cd552e6926c162a022cc4b948f4abc8 (patch)
tree375b728da01197c50183643109a8128bdbb1b798 /drivers/char/apm-emulation.c
parentsoc: qcom: Make qcom_smem_get() return a pointer (diff)
downloadlinux-9806884d8cd552e6926c162a022cc4b948f4abc8.tar.xz
linux-9806884d8cd552e6926c162a022cc4b948f4abc8.zip
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>
Diffstat (limited to 'drivers/char/apm-emulation.c')
0 files changed, 0 insertions, 0 deletions