aboutsummaryrefslogtreecommitdiff
path: root/libbb/kernel_version.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-27 02:52:20 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-27 02:52:20 +0000
commitdefc1ea34074e7882724c460260d307cdf981a70 (patch)
treefca9b9a5fe243f9c0c76b84824ea2ff92ea8e589 /libbb/kernel_version.c
parent26bc57d8b26425f23f4be974cce7bf35c95c9a1a (diff)
downloadbusybox-w32-defc1ea34074e7882724c460260d307cdf981a70.tar.gz
busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.tar.bz2
busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.zip
*: introduce and use FAST_FUNC: regparm on i386, otherwise no-on
text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
Diffstat (limited to 'libbb/kernel_version.c')
-rw-r--r--libbb/kernel_version.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/kernel_version.c b/libbb/kernel_version.c
index 50b82ae18..8b9c4ec20 100644
--- a/libbb/kernel_version.c
+++ b/libbb/kernel_version.c
@@ -16,7 +16,7 @@
16 * 16 *
17 * if (get_linux_version_code() > KERNEL_VERSION(2,2,11)) { <stuff> } 17 * if (get_linux_version_code() > KERNEL_VERSION(2,2,11)) { <stuff> }
18 */ 18 */
19int get_linux_version_code(void) 19int FAST_FUNC get_linux_version_code(void)
20{ 20{
21 struct utsname name; 21 struct utsname name;
22 char *s; 22 char *s;