On 06/16/2013 10:57 AM, Chris Mason wrote:
> Signed-off-by: Chris Mason <chris.mason@xxxxxxxxxxxx>
> ---
> include/linux/skiplist.h | 235 ++++++
> init/main.c | 5 +
> lib/Kconfig | 14 +
> lib/Makefile | 3 +
> lib/skiplist.c | 2106
++++++++++++++++++++++++++++++++++++++++++++++
> lib/skiplist_test.c | 882 +++++++++++++++++++
> 6 files changed, 3245 insertions(+)
> create mode 100644 include/linux/skiplist.h
> create mode 100644 lib/skiplist.c
> create mode 100644 lib/skiplist_test.c
>
...
> +
> +static void pretty_time(struct timespec *ts, unsigned long long
*seconds, unsigned long long *ms)
> +{
> + unsigned long long m;
> +
> + *seconds = ts->tv_sec;
> +
> + m = ts->tv_nsec / 1000000ULL;
Linux: centos 6.4 32bit 3.10
Gcc version: gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3)
compiler error:
CC [M] lib/skiplist_test.o
Building modules, stage 2.
MODPOST 12 modules
ERROR: "__udivdi3" [lib/skiplist_test.ko] undefined!
> + *ms = m;
> +}
> +
...
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html