Repository navigation
Commit 86b3de6
committed
ring-buffer: Remove HAVE_64BIT_ALIGNED_ACCESS
Commit c19fa94 ("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>1 parent a124692 commit 86b3de6
2 files changed
Lines changed: 4 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | 131 | | |
148 | 132 | | |
149 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
| 131 | + | |
141 | 132 | | |
142 | 133 | | |
143 | 134 | | |
| |||
2373 | 2364 | | |
2374 | 2365 | | |
2375 | 2366 | | |
2376 | | - | |
| 2367 | + | |
2377 | 2368 | | |
2378 | 2369 | | |
2379 | 2370 | | |
| |||
2388 | 2379 | | |
2389 | 2380 | | |
2390 | 2381 | | |
2391 | | - | |
| 2382 | + | |
2392 | 2383 | | |
2393 | 2384 | | |
2394 | 2385 | | |
2395 | | - | |
| 2386 | + | |
2396 | 2387 | | |
2397 | 2388 | | |
2398 | 2389 | | |
| |||
0 commit comments