Fix from Chris Rankin -- make the Configure script handle PREMPT

kernels.
This commit is contained in:
pizza 2006-12-05 14:31:30 +00:00
parent 9c297aa928
commit 2760a438af
2 changed files with 2 additions and 2 deletions

View File

@ -41,6 +41,7 @@
* Intersil Corporation as part of PRISM(R) chipset product development.
*
* --------------------------------------------------------------------
- Configure script better handles PREEMPT kernels (Chris Rankin)
- 2.6.19+ uses a different IRQ handler function prototype.
- linux/config.h is no more on 2.6.19+ kernels.
0.2.6

View File

@ -293,8 +293,7 @@ if [ ! -f $LINUX_SRC/.config ] ; then
fi
# Check for consistent kernel build dates
CUR_D=`uname -v | sed -e 's/^#[0-9]* //;s/SMP //'`
CUR_D=`uname -v | sed -e 's/^#[0-9]* //;s/SMP //;s/PREEMPT //;'`
CUR_D=`$ECHO $CUR_D | sed -e 's/\(:[0-9][0-9]\) .* \([12][90]\)/\1 \2/'`
$ECHO "The current kernel build date is $CUR_D."
UTS_VERSION="unknown";