commit | 9806884d8cd552e6926c162a022cc4b948f4abc8 | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Wed Sep 02 15:46:45 2015 -0700 |
committer | Andy Gross <agross@codeaurora.org> | Wed Oct 14 14:51:20 2015 -0500 |
tree | 375b728da01197c50183643109a8128bdbb1b798 | |
parent | 1a03964dec3cecb6382d172b9dfe318735c2cad7 [diff] |
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>