projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
arm64: core support
[oweals/u-boot.git]
/
arch
/
arm
/
include
/
asm
/
types.h
diff --git
a/arch/arm/include/asm/types.h
b/arch/arm/include/asm/types.h
index 71dc049da625e521674a6b0cd412283ecade7305..2326420a7f755f9837dc165f10fa83b08a7cd2e1 100644
(file)
--- a/
arch/arm/include/asm/types.h
+++ b/
arch/arm/include/asm/types.h
@@
-39,7
+39,11
@@
typedef unsigned int u32;
typedef signed long long s64;
typedef unsigned long long u64;
+#ifdef CONFIG_ARM64
+#define BITS_PER_LONG 64
+#else /* CONFIG_ARM64 */
#define BITS_PER_LONG 32
+#endif /* CONFIG_ARM64 */
/* Dma addresses are 32-bits wide. */