summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/emc.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2019-04-15 11:32:23 +0200
committerTom Warren <twarren@nvidia.com>2019-06-05 09:16:33 -0700
commit8f60d18f9406c38a90972798290aa3ce3de92ecb (patch)
tree6d65cbcbb53fa58afb5a742f298ce9d1f485dcc7 /arch/arm/mach-tegra/emc.c
parente19143b5eb22fd440de8bf42709347fd524897c0 (diff)
ARM: tegra: Fix save_boot_params() prototype
The save_boot_params() function takes as its first four arguments the first four registers. On 32-bit ARM these are r0, r1, r2 and r3, all of which are 32 bits wide. However, on 64-bit ARM thene registers are x0, x1, x2 and x3, all of which are 64 bits wide. In order to allow reusing the save_boot_params() implementation on 64-bit ARM, change it to take unsigned long parameters rather than the fixed size 32-bit integers. This ensures that the correct values are passed. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/emc.c')
0 files changed, 0 insertions, 0 deletions