diff options
-rw-r--r-- | arch/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index 7f8f281f2585..45bc593d10e1 100644 --- a/arch/Kconfig +++ b/arch/Kconfig | |||
@@ -94,6 +94,22 @@ config UPROBES | |||
94 | 94 | ||
95 | If in doubt, say "N". | 95 | If in doubt, say "N". |
96 | 96 | ||
97 | config HAVE_64BIT_ALIGNED_ACCESS | ||
98 | def_bool 64BIT && !HAVE_EFFICIENT_UNALIGNED_ACCESS | ||
99 | help | ||
100 | Some architectures require 64 bit accesses to be 64 bit | ||
101 | aligned, which also requires structs containing 64 bit values | ||
102 | to be 64 bit aligned too. This includes some 32 bit | ||
103 | architectures which can do 64 bit accesses, as well as 64 bit | ||
104 | architectures without unaligned access. | ||
105 | |||
106 | This symbol should be selected by an architecture if 64 bit | ||
107 | accesses are required to be 64 bit aligned in this way even | ||
108 | though it is not a 64 bit architecture. | ||
109 | |||
110 | See Documentation/unaligned-memory-access.txt for more | ||
111 | information on the topic of unaligned memory accesses. | ||
112 | |||
97 | config HAVE_EFFICIENT_UNALIGNED_ACCESS | 113 | config HAVE_EFFICIENT_UNALIGNED_ACCESS |
98 | bool | 114 | bool |
99 | help | 115 | help |