]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/blackfin/lib/strncmp.c
Merge branches 'at91', 'cache', 'cup', 'ep93xx', 'ixp4xx', 'nuc', 'pending-dma-stream...
[karo-tx-linux.git] / arch / blackfin / lib / strncmp.c
1 /*
2  * Provide symbol in case str func is not inlined.
3  *
4  * Copyright (c) 2006-2007 Analog Devices Inc.
5  *
6  * Licensed under the GPL-2 or later.
7  */
8
9 #define strncmp __inline_strncmp
10 #include <asm/string.h>
11 #include <linux/module.h>
12 #undef strncmp
13
14 int strncmp(const char *cs, const char *ct, size_t count)
15 {
16         return __inline_strncmp(cs, ct, count);
17 }
18 EXPORT_SYMBOL(strncmp);