summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRandolph Chung <randolph@tausq.org>2009-06-23 14:53:26 +0000
committerKyle McMartin <kyle@mcmartin.ca>2009-07-03 03:34:09 +0000
commit87451d850c895470a122308086069b7c326c914b (patch)
tree07f60f7ccd88aa37d5e2029fdc0f48dc63df46ba /arch
parente957f608f321a97a60d065bccd01949590eef52e (diff)
downloadop-kernel-dev-87451d850c895470a122308086069b7c326c914b.zip
op-kernel-dev-87451d850c895470a122308086069b7c326c914b.tar.gz
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')
-rw-r--r--arch/parisc/lib/memcpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/lib/memcpy.c b/arch/parisc/lib/memcpy.c
index bbda909..abf41f4 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)) {
OpenPOWER on IntegriCloud