diff options
Diffstat (limited to 'include/linux/linkage.h')
-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 ceeeb5ea5b15..3faf599ea58e 100644 --- a/include/linux/linkage.h +++ b/include/linux/linkage.h | |||
@@ -57,6 +57,10 @@ | |||
57 | .size name, .-name | 57 | .size name, .-name |
58 | #endif | 58 | #endif |
59 | 59 | ||
60 | /* If symbol 'name' is treated as a subroutine (gets called, and returns) | ||
61 | * then please use ENDPROC to mark 'name' as STT_FUNC for the benefit of | ||
62 | * static analysis tools such as stack depth analyzer. | ||
63 | */ | ||
60 | #ifndef ENDPROC | 64 | #ifndef ENDPROC |
61 | #define ENDPROC(name) \ | 65 | #define ENDPROC(name) \ |
62 | .type name, @function; \ | 66 | .type name, @function; \ |