Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88094
b: refs/heads/master
c: e8d49f3
h: refs/heads/master
v: v3
  • Loading branch information
Dmitri Vorobiev authored and Linus Torvalds committed Apr 2, 2008
1 parent 5962765 commit 0fee2eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c143d43aa3149b83e4b40624a27aa2b18638afec
refs/heads/master: e8d49f3a6fec38cc83ae3221c3df0649d021c30c
4 changes: 2 additions & 2 deletions trunk/Documentation/unaligned-memory-access.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ here; a summary of the common scenarios is presented below:
unaligned access to be corrected.
- Some architectures are not capable of unaligned memory access, but will
silently perform a different memory access to the one that was requested,
resulting a a subtle code bug that is hard to detect!
resulting in a subtle code bug that is hard to detect!

It should be obvious from the above that if your code causes unaligned
memory accesses to happen, your code will not work correctly on certain
Expand Down Expand Up @@ -209,7 +209,7 @@ memory and you wish to avoid unaligned access, its usage is as follows:

u32 value = get_unaligned((u32 *) data);

These macros work work for memory accesses of any length (not just 32 bits as
These macros work for memory accesses of any length (not just 32 bits as
in the examples above). Be aware that when compared to standard access of
aligned memory, using these macros to access unaligned memory can be costly in
terms of performance.
Expand Down

0 comments on commit 0fee2eb

Please sign in to comment.