diff options
author | David Feng <fenghua@phytium.com.cn> | 2013-12-14 11:47:31 +0800 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-01-09 16:08:15 +0100 |
commit | ec4fa56743a3534c4bace2c9c72ea36b9d41000c (patch) | |
tree | 32dd0c99ffa5e47a1371c07372d0b2cd247b79c3 /include/linux | |
parent | 5cea95cb53c7192c3ab9cb61634fa1a1f33649f4 (diff) |
add weak entry definition
Signed-off-by: David Feng <fenghua@phytium.com.cn>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/linkage.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/linkage.h b/include/linux/linkage.h index 39c712eac5b..7435fcd0262 100644 --- a/include/linux/linkage.h +++ b/include/linux/linkage.h @@ -48,6 +48,10 @@ .globl SYMBOL_NAME(name); \ LENTRY(name) +#define WEAK(name) \ + .weak SYMBOL_NAME(name); \ + LENTRY(name) + #ifndef END #define END(name) \ .size name, .-name |