Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d7c4086af7b51144bdedda266ffa66617ec7d4ed
Commit:     d7c4086af7b51144bdedda266ffa66617ec7d4ed
Parent:     113134fcbca83619be4c68d0ca66db6093777b5d
Author:     Yu Luming <[EMAIL PROTECTED]>
AuthorDate: Mon Oct 29 11:21:45 2007 -0700
Committer:  Tony Luck <[EMAIL PROTECTED]>
CommitDate: Mon Oct 29 11:21:45 2007 -0700

    [IA64] fix typo in per_cpu_offset
    
    there is a typo in the definition of per_cpu_offset because, for ia64,
    the __per_cpu_offset is an array.
    
    Signed-off-by: Yu Luming <[EMAIL PROTECTED]>
    Signed-off-by: Tony Luck <[EMAIL PROTECTED]>
---
 include/asm-ia64/percpu.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/asm-ia64/percpu.h b/include/asm-ia64/percpu.h
index 43a7aac..c4f1e32 100644
--- a/include/asm-ia64/percpu.h
+++ b/include/asm-ia64/percpu.h
@@ -46,7 +46,7 @@
 #ifdef CONFIG_SMP
 
 extern unsigned long __per_cpu_offset[NR_CPUS];
-#define per_cpu_offset(x) (__per_cpu_offset(x))
+#define per_cpu_offset(x) (__per_cpu_offset[x])
 
 /* Equal to __per_cpu_offset[smp_processor_id()], but faster to access: */
 DECLARE_PER_CPU(unsigned long, local_per_cpu_offset);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to