Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 6262
Collapse All | Expand All

(-)fritz.orig/src.drv/lib.c (-1 / +2 lines)
Lines 220-226 Link Here
220
\*---------------------------------------------------------------------------*/
220
\*---------------------------------------------------------------------------*/
221
unsigned long os_msec (void) {
221
unsigned long os_msec (void) {
222
222
223
	return (((unsigned long long) jiffies) * 1000) / HZ;
223
	unsigned long j = jiffies;
224
	return (j * (1000 / HZ) + (j * (1000 % HZ)) / HZ);
224
} /* os_msec */
225
} /* os_msec */
225
226
226
/*---------------------------------------------------------------------------*\
227
/*---------------------------------------------------------------------------*\
(-)fritz.orig/src.drv/tools.c (-4 / +4 lines)
Lines 24-34 Link Here
24
#include <linux/vmalloc.h>
24
#include <linux/vmalloc.h>
25
#include <linux/kernel.h>
25
#include <linux/kernel.h>
26
#include <linux/version.h>
26
#include <linux/version.h>
27
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,18)
27
//#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,18)
28
#include <linux/slab.h>
28
#include <linux/slab.h>
29
#else
29
//#else
30
#include <linux/malloc.h>
30
//#include <linux/malloc.h>
31
#endif
31
//#endif
32
32
33
#include "defs.h"
33
#include "defs.h"
34
#include "tools.h"
34
#include "tools.h"

Return to bug 6262