diff options
author | Randolph Chung <randolph@tausq.org> | 2009-06-23 16:53:26 +0200 |
---|---|---|
committer | Kyle McMartin <kyle@mcmartin.ca> | 2009-07-03 05:34:09 +0200 |
commit | 87451d850c895470a122308086069b7c326c914b (patch) | |
tree | 07f60f7ccd88aa37d5e2029fdc0f48dc63df46ba /arch/parisc | |
parent | parisc: Fix gcc 4.4 warning in lba_pci.c (diff) | |
download | linux-87451d850c895470a122308086069b7c326c914b.tar.xz linux-87451d850c895470a122308086069b7c326c914b.zip |
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: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Randolph Chung <tausq@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/lib/memcpy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/lib/memcpy.c b/arch/parisc/lib/memcpy.c index bbda909c866e..abf41f4632a9 100644 --- a/arch/parisc/lib/memcpy.c +++ b/arch/parisc/lib/memcpy.c @@ -405,7 +405,7 @@ byte_copy: unaligned_copy: /* 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); if (unlikely(t2 != 0)) { |