PERFORCE change 28154 for review
Peter Wemm
peter at FreeBSD.org
Fri Apr 4 19:46:53 PST 2003
http://perforce.freebsd.org/chv.cgi?CH=28154
Change 28154 by peter at peter_overcee on 2003/04/04 19:46:03
make this compile
Affected files ...
.. //depot/projects/hammer/sys/x86_64/x86_64/critical.c#5 edit
Differences ...
==== //depot/projects/hammer/sys/x86_64/x86_64/critical.c#5 (text+ko) ====
@@ -26,9 +26,9 @@
{
struct thread *td;
- td = cuthread;
+ td = curthread;
td->td_critnest = 1;
- td->td_md.md_critnest = read_eflags() & PSL_I;
+ td->td_md.md_savecrit = read_rflags() & PSL_I;
}
/*
More information about the p4-projects
mailing list