diff options
author | Russell King <rmk@arm.linux.org.uk> | 2016-06-06 18:01:18 +0100 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2016-06-08 09:24:10 +0900 |
commit | 2f10ffb193c219709f3079854a15718ad872f40e (patch) | |
tree | fd10a8ba6b7542b4a4d649635da4c43d0ea612fb /kexec/arch/arm/phys_to_virt.h | |
parent | fbee2f01cddffebc347e80d99ce0faf418e163b4 (diff) |
arm: fix type of phys_offset
Some LPAE systems may have phys_offset above the 4GB mark. Hence, we
need phys_offset to be a 64-bit integer.
Reviewed-by: Pratyush Anand <panand@redhat.com>
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/arm/phys_to_virt.h')
-rw-r--r-- | kexec/arch/arm/phys_to_virt.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kexec/arch/arm/phys_to_virt.h b/kexec/arch/arm/phys_to_virt.h new file mode 100644 index 0000000..b3147dd --- /dev/null +++ b/kexec/arch/arm/phys_to_virt.h @@ -0,0 +1,8 @@ +#ifndef PHYS_TO_VIRT_H +#define PHYS_TO_VIRT_H + +#include <stdint.h> + +extern uint64_t phys_offset; + +#endif |