diff options
| author | Johannes Berg <[email protected]> | 2008-07-25 01:45:33 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-07-25 10:53:27 -0700 |
| commit | 58340a07c194e0aed7bc58b61ff24330bb2a409f (patch) | |
| tree | 907a53c71b3092e3a3a95c6641d4839e20214efd /include/linux | |
| parent | e0ce0da9fefcc723dc006c35a7f91a32750abd40 (diff) | |
introduce HAVE_EFFICIENT_UNALIGNED_ACCESS Kconfig symbol
In many cases, especially in networking, it can be beneficial to know at
compile time whether the architecture can do unaligned accesses efficiently.
This patch introduces a new Kconfig symbol
HAVE_EFFICIENT_UNALIGNED_ACCESS
for that purpose and adds it to the powerpc and x86 architectures. Also add
some documentation about alignment and networking, and especially one intended
use of this symbol.
Signed-off-by: Johannes Berg <[email protected]>
Acked-by: Sam Ravnborg <[email protected]>
Acked-by: Ingo Molnar <[email protected]> [x86 architecture part]
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions