https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225450

m...@rubenvos.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m...@rubenvos.com

--- Comment #21 from m...@rubenvos.com ---
(In reply to John Baldwin from comment #20)

I've followed the steps below in an attempt to test your patch:

Index: x86/x86/delay.c
===================================================================
--- delay.c     (revision 329004)
+++ delay.c     (working copy)
@@ -72,7 +72,7 @@
                func = get_tsc;
                mask = ~0u;
        } else {
-               if (tc->tc_quality <= 0)
+               if (tc->tc_quality <= 0 || cold
                        return (0);
                func = tc->tc_get_timecount;
                mask = tc->tc_counter_mask;

(I do not have any C skills at all, sorry if I've misinterpreted your last
comment)

1 :
rm -rvf /usr/src ; mkdir /usr/src ; svnlite checkout
https://svn.freebsd.org/base/stable/11/ /usr/src

2:

cd /usr/src/sys ; patch < /root/patch_c16.diff
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: x86/x86/delay.c
|===================================================================
|--- delay.c     (revision 329004)
|+++ delay.c     (working copy)
--------------------------
File to patch: x86/x86/delay.c
Patching file x86/x86/delay.c using Plan A...
Hunk #1 failed at 72.
1 out of 1 hunks failed--saving rejects to x86/x86/delay.c.rej
done

Which tree or src code should the patches mentioned in this PR be applied
against exactly?

Regards,

Ruben

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to