SPECS: pwc.spec - conditional preempt realtime hack
sparky
sparky at pld-linux.org
Sun Feb 19 22:39:59 CET 2006
Author: sparky Date: Sun Feb 19 21:39:59 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- conditional preempt realtime hack
---- Files affected:
SPECS:
pwc.spec (1.9 -> 1.10)
---- Diffs:
================================================================
Index: SPECS/pwc.spec
diff -u SPECS/pwc.spec:1.9 SPECS/pwc.spec:1.10
--- SPECS/pwc.spec:1.9 Sat Jan 21 18:29:53 2006
+++ SPECS/pwc.spec Sun Feb 19 22:39:54 2006
@@ -107,6 +107,7 @@
echo "obj-m += pwc.o" >> Makefile.new
echo "CFLAGS += -DXAWTV_HAS_BEEN_FIXED=1" >> Makefile.new
mv -f Makefile{.new,}
+cp -f pwc-if.c pwc-if.c.orig
%build
%if %{with kernel}
@@ -132,6 +133,12 @@
%endif
ln -sf %{_kernelsrcdir}/Module.symvers-$cfg Module.symvers
touch include/config/MARKER
+ if grep -q "^CONFIG_PREEMPT_RT=y$" .config; then
+ sed 's/SPIN_LOCK_UNLOCKED/SPIN_LOCK_UNLOCKED(pdev->ptrlock)/' \
+ pwc-if.c.orig > pwc-if.c
+ else
+ cat pwc-if.c.orig > pwc-if.c
+ fi
%{__make} -C %{_kernelsrcdir} clean \
RCS_FIND_IGNORE="-name '*.ko' -o" \
M=$PWD O=$PWD \
@@ -202,6 +209,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.10 2006/02/19 21:39:54 sparky
+- conditional preempt realtime hack
+
Revision 1.9 2006/01/21 17:29:53 sparky
- add modprobe config
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/pwc.spec?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list