First Support on Ginger and OMAP TI
[linux-ginger.git] / arch / blackfin / lib / strncmp.c
blob46518b1d29831bae0184daa34b2b45889563448f
1 /*
2 * Provide symbol in case str func is not inlined.
4 * Copyright (c) 2006-2007 Analog Devices Inc.
6 * Licensed under the GPL-2 or later.
7 */
9 #define strncmp __inline_strncmp
10 #include <asm/string.h>
11 #include <linux/module.h>
12 #undef strncmp
14 int strncmp(const char *cs, const char *ct, size_t count)
16 return __inline_strncmp(cs, ct, count);
18 EXPORT_SYMBOL(strncmp);