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

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
This commit is contained in:
Denys Vlasenko 2010-02-20 01:03:48 +01:00 коммит произвёл Michal Marek
Родитель 2b55f3672c
Коммит 75ddb0e87d
4 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -66,14 +66,14 @@ of advantages of mutexes:
c0377ccb <mutex_lock>: c0377ccb <mutex_lock>:
c0377ccb: f0 ff 08 lock decl (%eax) c0377ccb: f0 ff 08 lock decl (%eax)
c0377cce: 78 0e js c0377cde <.text.lock.mutex> c0377cce: 78 0e js c0377cde <.text..lock.mutex>
c0377cd0: c3 ret c0377cd0: c3 ret
the unlocking fastpath is equally tight: the unlocking fastpath is equally tight:
c0377cd1 <mutex_unlock>: c0377cd1 <mutex_unlock>:
c0377cd1: f0 ff 00 lock incl (%eax) c0377cd1: f0 ff 00 lock incl (%eax)
c0377cd4: 7e 0f jle c0377ce5 <.text.lock.mutex+0x7> c0377cd4: 7e 0f jle c0377ce5 <.text..lock.mutex+0x7>
c0377cd6: c3 ret c0377cd6: c3 ret
- 'struct mutex' semantics are well-defined and are enforced if - 'struct mutex' semantics are well-defined and are enforced if

Просмотреть файл

@ -54,8 +54,8 @@ SECTIONS
.text2 : AT(ADDR(.text2) - LOAD_OFFSET) .text2 : AT(ADDR(.text2) - LOAD_OFFSET)
{ *(.text2) } { *(.text2) }
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
.text.lock : AT(ADDR(.text.lock) - LOAD_OFFSET) .text..lock : AT(ADDR(.text..lock) - LOAD_OFFSET)
{ *(.text.lock) } { *(.text..lock) }
#endif #endif
_etext = .; _etext = .;

Просмотреть файл

@ -68,7 +68,7 @@ SECTIONS {
TEXT_TEXT TEXT_TEXT
SCHED_TEXT SCHED_TEXT
LOCK_TEXT LOCK_TEXT
*(.text.lock) *(.text..lock)
. = ALIGN(16); /* Exception table */ . = ALIGN(16); /* Exception table */
__start___ex_table = .; __start___ex_table = .;

Просмотреть файл

@ -60,7 +60,7 @@
/* /*
* Must define these before including other files, inline functions need them * Must define these before including other files, inline functions need them
*/ */
#define LOCK_SECTION_NAME ".text.lock."KBUILD_BASENAME #define LOCK_SECTION_NAME ".text..lock."KBUILD_BASENAME
#define LOCK_SECTION_START(extra) \ #define LOCK_SECTION_START(extra) \
".subsection 1\n\t" \ ".subsection 1\n\t" \