diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-05-28 09:36:19 -0400 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-05-28 09:36:19 -0400 |
commit | 86b3de60a0b634cdcef82d0a2091bc5444a00020 (patch) | |
tree | 2c9adf9f4171cc33baeb7ebc6200bc5b3cbafd73 /arch/Kconfig | |
parent | a124692b698b00026a58d89831ceda2331b2e1d0 (diff) |
ring-buffer: Remove HAVE_64BIT_ALIGNED_ACCESS
Commit c19fa94a8fed ("Add HAVE_64BIT_ALIGNED_ACCESS") added the config for
architectures that required 64bit aligned access for all 64bit words. As
the ftrace ring buffer stores data on 4 byte alignment, this config option
was used to force it to store data on 8 byte alignment to make sure the data
being stored and written directly into the ring buffer was 8 byte aligned as
it would cause issues trying to write an 8 byte word on a 4 not 8 byte
aligned memory location.
But with the removal of the metag architecture, which was the only
architecture to use this, there is no architecture supported by Linux that
requires 8 byte aligne access for all 8 byte words (4 byte alignment is good
enough). Removing this config can simplify the code a bit.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'arch/Kconfig')
-rw-r--r-- | arch/Kconfig | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index c47b328eada0..665a7557b15c 100644 --- a/arch/Kconfig +++ b/arch/Kconfig | |||
@@ -128,22 +128,6 @@ config UPROBES | |||
128 | managed by the kernel and kept transparent to the probed | 128 | managed by the kernel and kept transparent to the probed |
129 | application. ) | 129 | application. ) |
130 | 130 | ||
131 | config HAVE_64BIT_ALIGNED_ACCESS | ||
132 | def_bool 64BIT && !HAVE_EFFICIENT_UNALIGNED_ACCESS | ||
133 | help | ||
134 | Some architectures require 64 bit accesses to be 64 bit | ||
135 | aligned, which also requires structs containing 64 bit values | ||
136 | to be 64 bit aligned too. This includes some 32 bit | ||
137 | architectures which can do 64 bit accesses, as well as 64 bit | ||
138 | architectures without unaligned access. | ||
139 | |||
140 | This symbol should be selected by an architecture if 64 bit | ||
141 | accesses are required to be 64 bit aligned in this way even | ||
142 | though it is not a 64 bit architecture. | ||
143 | |||
144 | See Documentation/unaligned-memory-access.txt for more | ||
145 | information on the topic of unaligned memory accesses. | ||
146 | |||
147 | config HAVE_EFFICIENT_UNALIGNED_ACCESS | 131 | config HAVE_EFFICIENT_UNALIGNED_ACCESS |
148 | bool | 132 | bool |
149 | help | 133 | help |