FreeBSD Bugzilla – Attachment 14481 Details for
Bug 27215
when cat'ing /compat/linux/proc/stat, we have negative numbers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 861 bytes, created by
Jim.Pirzyk
on 2001-05-08 22:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Jim.Pirzyk
Created:
2001-05-08 22:40:01 UTC
Size:
861 bytes
patch
obsolete
>*** linprocfs_misc.c.orig Thu Dec 7 05:17:55 2000 >--- linprocfs_misc.c Tue May 8 14:23:25 2001 >*************** >*** 71,77 **** > /* > * Various conversion macros > */ >! #define T2J(x) (((x) * 100) / (stathz ? stathz : hz)) /* ticks to jiffies */ > #define T2S(x) ((x) / (stathz ? stathz : hz)) /* ticks to seconds */ > #define B2K(x) ((x) >> 10) /* bytes to kbytes */ > #define P2B(x) ((x) << PAGE_SHIFT) /* pages to bytes */ >--- 71,77 ---- > /* > * Various conversion macros > */ >! #define T2J(x) (((x) * 100UL) / (stathz ? stathz : hz)) /* ticks to jiffies */ > #define T2S(x) ((x) / (stathz ? stathz : hz)) /* ticks to seconds */ > #define B2K(x) ((x) >> 10) /* bytes to kbytes */ > #define P2B(x) ((x) << PAGE_SHIFT) /* pages to bytes */
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 27215
: 14481