SPECS: VMware-workstation.spec - realtime preempt hack
sparky
sparky at pld-linux.org
Mon Feb 20 00:38:04 CET 2006
Author: sparky Date: Sun Feb 19 23:38:04 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- realtime preempt hack
---- Files affected:
SPECS:
VMware-workstation.spec (1.80 -> 1.81)
---- Diffs:
================================================================
Index: SPECS/VMware-workstation.spec
diff -u SPECS/VMware-workstation.spec:1.80 SPECS/VMware-workstation.spec:1.81
--- SPECS/VMware-workstation.spec:1.80 Mon Feb 20 00:32:40 2006
+++ SPECS/VMware-workstation.spec Mon Feb 20 00:37:56 2006
@@ -325,6 +325,15 @@
ln -sf %{_kernelsrcdir}/config-$cfg o/.config
ln -sf %{_kernelsrcdir}/Module.symvers-$cfg o/Module.symvers
ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h o/include/linux/autoconf.h
+ if grep -q "^CONFIG_PREEMPT_RT=y$" o/.config; then
+ sed -e '/pollQueueLock/s/SPIN_LOCK_UNLOCKED/SPIN_LOCK_UNLOCKED(pollQueueLock)/' \
+ -e '/timerLock/s/SPIN_LOCK_UNLOCKED/SPIN_LOCK_UNLOCKED(timerLock)/' \
+ -i ../vmmon-only/linux/driver.c
+ sed -e 's/SPIN_LOCK_UNLOCKED/SPIN_LOCK_UNLOCKED(vnetHubLock)/' \
+ -i ../vmnet-only/hub.c
+ sed -e 's/RW_LOCK_UNLOCKED/RW_LOCK_UNLOCKED(vnetPeerLock)/' \
+ -i ../vmnet-only/driver.c
+ fi
%if %{with dist_kernel}
%{__make} -C %{_kernelsrcdir} O=$PWD/o prepare scripts
%else
@@ -654,6 +663,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.81 2006/02/19 23:37:56 sparky
+- realtime preempt hack
+
Revision 1.80 2006/02/19 23:32:40 sparky
- fix 64bit platform detection
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/VMware-workstation.spec?r1=1.80&r2=1.81&f=u
More information about the pld-cvs-commit
mailing list