git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'mfd-for-linus-3.20' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd
[pandora-kernel.git]
/
arch
/
arm
/
mach-qcom
/
scm-boot.c
diff --git
a/arch/arm/mach-qcom/scm-boot.c
b/arch/arm/mach-qcom/scm-boot.c
index
45cee3e
..
e8ff7be
100644
(file)
--- a/
arch/arm/mach-qcom/scm-boot.c
+++ b/
arch/arm/mach-qcom/scm-boot.c
@@
-24,15
+24,15
@@
/*
* Set the cold/warm boot address for one of the CPU cores.
*/
/*
* Set the cold/warm boot address for one of the CPU cores.
*/
-int scm_set_boot_addr(
phys_addr_t
addr, int flags)
+int scm_set_boot_addr(
u32
addr, int flags)
{
struct {
{
struct {
-
unsigned int
flags;
-
phys_addr_t
addr;
+
__le32
flags;
+
__le32
addr;
} cmd;
} cmd;
- cmd.addr =
addr
;
- cmd.flags =
flags
;
+ cmd.addr =
cpu_to_le32(addr)
;
+ cmd.flags =
cpu_to_le32(flags)
;
return scm_call(SCM_SVC_BOOT, SCM_BOOT_ADDR,
&cmd, sizeof(cmd), NULL, 0);
}
return scm_call(SCM_SVC_BOOT, SCM_BOOT_ADDR,
&cmd, sizeof(cmd), NULL, 0);
}