Commit 87451d85 authored by Randolph Chung's avatar Randolph Chung Committed by Kyle McMartin

parisc: fix mismatched parenthesis in memcpy.c

>>>> I think this is what was intended? Note that this patch may affect
>>>> profiling.
>>> it really should be

> >>> -    if (likely(t1 & (sizeof(unsigned int)-1)) == 0) {
> >>> +    if (likely((t1 & (sizeof(unsigned int)-1)) == 0)) {

>>> randolph
Reported-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatarRandolph Chung <tausq@parisc-linux.org>
Signed-off-by: default avatarKyle McMartin <kyle@mcmartin.ca>
parent e957f608
...@@ -405,7 +405,7 @@ byte_copy: ...@@ -405,7 +405,7 @@ byte_copy:
unaligned_copy: unaligned_copy:
/* possibly we are aligned on a word, but not on a double... */ /* possibly we are aligned on a word, but not on a double... */
if (likely(t1 & (sizeof(unsigned int)-1)) == 0) { if (likely((t1 & (sizeof(unsigned int)-1)) == 0)) {
t2 = src & (sizeof(unsigned int) - 1); t2 = src & (sizeof(unsigned int) - 1);
if (unlikely(t2 != 0)) { if (unlikely(t2 != 0)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment