Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 2949 Details for
Bug 6262
fcpci produces unresolved symbol __udivdi3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
replaces glibc-routine (imho)
tools.c.diff (text/plain), 1.08 KB, created by
Andreas Koehler
on 2002-08-09 14:05:24 UTC
(
hide
)
Description:
replaces glibc-routine (imho)
Filename:
MIME Type:
Creator:
Andreas Koehler
Created:
2002-08-09 14:05:24 UTC
Size:
1.08 KB
patch
obsolete
>diff -Naur fritz.orig/src.drv/lib.c fritz/src.drv/lib.c >--- fritz.orig/src.drv/lib.c 2002-06-07 00:00:00.000000000 +0200 >+++ fritz/src.drv/lib.c 2002-08-09 18:09:26.000000000 +0200 >@@ -220,7 +220,8 @@ > \*---------------------------------------------------------------------------*/ > unsigned long os_msec (void) { > >- return (((unsigned long long) jiffies) * 1000) / HZ; >+ unsigned long j = jiffies; >+ return (j * (1000 / HZ) + (j * (1000 % HZ)) / HZ); > } /* os_msec */ > > /*---------------------------------------------------------------------------*\ >diff -Naur fritz.orig/src.drv/tools.c fritz/src.drv/tools.c >--- fritz.orig/src.drv/tools.c 2002-06-07 00:00:00.000000000 +0200 >+++ fritz/src.drv/tools.c 2002-08-09 18:06:00.000000000 +0200 >@@ -24,11 +24,11 @@ > #include <linux/vmalloc.h> > #include <linux/kernel.h> > #include <linux/version.h> >-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,18) >+//#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,18) > #include <linux/slab.h> >-#else >-#include <linux/malloc.h> >-#endif >+//#else >+//#include <linux/malloc.h> >+//#endif > > #include "defs.h" > #include "tools.h"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 6262
: 2949