blob: fde39a1950ce8903124831d8758692cad384f648 [file] [log] [blame]
Mike Frysingerd0025e52007-11-21 15:34:51 +08001/*
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 */
Bryan Wu1394f032007-05-06 14:50:22 -07008
9#define strcmp __inline_strcmp
10#include <asm/string.h>
11#undef strcmp
12
Mike Frysingerd0025e52007-11-21 15:34:51 +080013#include <linux/module.h>
14
Bryan Wu1394f032007-05-06 14:50:22 -070015int strcmp(const char *dest, const char *src)
16{
Mike Frysinger1f83b8f2007-07-12 22:58:21 +080017 return __inline_strcmp(dest, src);
Bryan Wu1394f032007-05-06 14:50:22 -070018}
Mike Frysingerd0025e52007-11-21 15:34:51 +080019EXPORT_SYMBOL(strcmp);