[PATCH] Fix typo in "syntax error if percpu macros are incorrectly used" patch
authorJan Blunck <jblunck@suse.de>
Fri, 6 Oct 2006 07:43:58 +0000 (00:43 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Oct 2006 15:53:41 +0000 (08:53 -0700)
Trivial typo fix in the "syntax error if percpu macros are incorrectly
used" patch.  I misspelled "identifier" in all places.  D'Oh!

Thanks to Dirk Mueller to point this out.

Signed-off-by: Jan Blunck <jblunck@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-generic/percpu.h
include/asm-s390/percpu.h
include/asm-x86_64/percpu.h
include/linux/percpu.h

index 6d45ee5..1963762 100644 (file)
@@ -15,7 +15,7 @@ extern unsigned long __per_cpu_offset[NR_CPUS];
 
 /* var is in discarded region: offset to particular copy we want */
 #define per_cpu(var, cpu) (*({                         \
 
 /* var is in discarded region: offset to particular copy we want */
 #define per_cpu(var, cpu) (*({                         \
-       extern int simple_indentifier_##var(void);      \
+       extern int simple_identifier_##var(void);       \
        RELOC_HIDE(&per_cpu__##var, __per_cpu_offset[cpu]); }))
 #define __get_cpu_var(var) per_cpu(var, smp_processor_id())
 #define __raw_get_cpu_var(var) per_cpu(var, raw_smp_processor_id())
        RELOC_HIDE(&per_cpu__##var, __per_cpu_offset[cpu]); }))
 #define __get_cpu_var(var) per_cpu(var, smp_processor_id())
 #define __raw_get_cpu_var(var) per_cpu(var, raw_smp_processor_id())
index 495ad99..9ea7f10 100644 (file)
@@ -16,7 +16,7 @@
 #if defined(__s390x__) && defined(MODULE)
 
 #define __reloc_hide(var,offset) (*({                  \
 #if defined(__s390x__) && defined(MODULE)
 
 #define __reloc_hide(var,offset) (*({                  \
-       extern int simple_indentifier_##var(void);      \
+       extern int simple_identifier_##var(void);       \
        unsigned long *__ptr;                           \
        asm ( "larl %0,per_cpu__"#var"@GOTENT"          \
            : "=a" (__ptr) : "X" (per_cpu__##var) );    \
        unsigned long *__ptr;                           \
        asm ( "larl %0,per_cpu__"#var"@GOTENT"          \
            : "=a" (__ptr) : "X" (per_cpu__##var) );    \
@@ -25,7 +25,7 @@
 #else
 
 #define __reloc_hide(var, offset) (*({                         \
 #else
 
 #define __reloc_hide(var, offset) (*({                         \
-       extern int simple_indentifier_##var(void);              \
+       extern int simple_identifier_##var(void);               \
        unsigned long __ptr;                                    \
        asm ( "" : "=a" (__ptr) : "0" (&per_cpu__##var) );      \
        (typeof(&per_cpu__##var)) (__ptr + (offset)); }))
        unsigned long __ptr;                                    \
        asm ( "" : "=a" (__ptr) : "0" (&per_cpu__##var) );      \
        (typeof(&per_cpu__##var)) (__ptr + (offset)); }))
index 2857560..5ed0ef3 100644 (file)
 
 /* var is in discarded region: offset to particular copy we want */
 #define per_cpu(var, cpu) (*({                         \
 
 /* var is in discarded region: offset to particular copy we want */
 #define per_cpu(var, cpu) (*({                         \
-       extern int simple_indentifier_##var(void);      \
+       extern int simple_identifier_##var(void);       \
        RELOC_HIDE(&per_cpu__##var, __per_cpu_offset(cpu)); }))
 #define __get_cpu_var(var) (*({                                \
        RELOC_HIDE(&per_cpu__##var, __per_cpu_offset(cpu)); }))
 #define __get_cpu_var(var) (*({                                \
-       extern int simple_indentifier_##var(void);      \
+       extern int simple_identifier_##var(void);       \
        RELOC_HIDE(&per_cpu__##var, __my_cpu_offset()); }))
 #define __raw_get_cpu_var(var) (*({                    \
        RELOC_HIDE(&per_cpu__##var, __my_cpu_offset()); }))
 #define __raw_get_cpu_var(var) (*({                    \
-       extern int simple_indentifier_##var(void);      \
+       extern int simple_identifier_##var(void);       \
        RELOC_HIDE(&per_cpu__##var, __my_cpu_offset()); }))
 
 /* A macro to avoid #include hell... */
        RELOC_HIDE(&per_cpu__##var, __my_cpu_offset()); }))
 
 /* A macro to avoid #include hell... */
index 46ec72f..600e3d3 100644 (file)
@@ -19,7 +19,7 @@
  * we force a syntax error here if it isn't.
  */
 #define get_cpu_var(var) (*({                          \
  * we force a syntax error here if it isn't.
  */
 #define get_cpu_var(var) (*({                          \
-       extern int simple_indentifier_##var(void);      \
+       extern int simple_identifier_##var(void);       \
        preempt_disable();                              \
        &__get_cpu_var(var); }))
 #define put_cpu_var(var) preempt_enable()
        preempt_disable();                              \
        &__get_cpu_var(var); }))
 #define put_cpu_var(var) preempt_enable()