diff options
author | James Yang <[email protected]> | 2013-06-25 11:41:05 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <[email protected]> | 2013-06-30 15:49:40 +1000 |
commit | 80aa0fb4940bf8ee52bcb574d74459a7aea45621 (patch) | |
tree | 6b110dea572ce2a63e4cd47bf95ede1e9a8b2ee4 /Documentation/filesystems/configfs/configfs_example_macros.c | |
parent | e1b85c17bf3e4f2ecbf9ec824c4048a06078100b (diff) |
powerpc: Fix string instr. emulation for 32-bit processes on ppc64
String instruction emulation would erroneously result in a segfault if
the upper bits of the EA are set and is so high that it fails access
check. Truncate the EA to 32 bits if the process is 32-bit.
Signed-off-by: James Yang <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'Documentation/filesystems/configfs/configfs_example_macros.c')
0 files changed, 0 insertions, 0 deletions