Commit 75ddb0e87d0d31ad44d574e7fe2e962e4efecadb

Authored by Denys Vlasenko
Committed by Michal Marek
1 parent 2b55f3672c

Rename .text.lock to .text..lock.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>

Showing 4 changed files with 6 additions and 6 deletions Side-by-side Diff

Documentation/mutex-design.txt
... ... @@ -66,14 +66,14 @@
66 66  
67 67 c0377ccb <mutex_lock>:
68 68 c0377ccb: f0 ff 08 lock decl (%eax)
69   - c0377cce: 78 0e js c0377cde <.text.lock.mutex>
  69 + c0377cce: 78 0e js c0377cde <.text..lock.mutex>
70 70 c0377cd0: c3 ret
71 71  
72 72 the unlocking fastpath is equally tight:
73 73  
74 74 c0377cd1 <mutex_unlock>:
75 75 c0377cd1: f0 ff 00 lock incl (%eax)
76   - c0377cd4: 7e 0f jle c0377ce5 <.text.lock.mutex+0x7>
  76 + c0377cd4: 7e 0f jle c0377ce5 <.text..lock.mutex+0x7>
77 77 c0377cd6: c3 ret
78 78  
79 79 - 'struct mutex' semantics are well-defined and are enforced if
arch/ia64/kernel/vmlinux.lds.S
... ... @@ -54,8 +54,8 @@
54 54 .text2 : AT(ADDR(.text2) - LOAD_OFFSET)
55 55 { *(.text2) }
56 56 #ifdef CONFIG_SMP
57   - .text.lock : AT(ADDR(.text.lock) - LOAD_OFFSET)
58   - { *(.text.lock) }
  57 + .text..lock : AT(ADDR(.text..lock) - LOAD_OFFSET)
  58 + { *(.text..lock) }
59 59 #endif
60 60 _etext = .;
61 61  
arch/m68knommu/kernel/vmlinux.lds.S
... ... @@ -68,7 +68,7 @@
68 68 TEXT_TEXT
69 69 SCHED_TEXT
70 70 LOCK_TEXT
71   - *(.text.lock)
  71 + *(.text..lock)
72 72  
73 73 . = ALIGN(16); /* Exception table */
74 74 __start___ex_table = .;
include/linux/spinlock.h
... ... @@ -60,7 +60,7 @@
60 60 /*
61 61 * Must define these before including other files, inline functions need them
62 62 */
63   -#define LOCK_SECTION_NAME ".text.lock."KBUILD_BASENAME
  63 +#define LOCK_SECTION_NAME ".text..lock."KBUILD_BASENAME
64 64  
65 65 #define LOCK_SECTION_START(extra) \
66 66 ".subsection 1\n\t" \