]> git.openfabrics.org - ~emulex/for-vlad/old/compat.git/commit
compat: fix device_lock functions on non rt kernel
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 23 Oct 2010 18:13:59 +0000 (20:13 +0200)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Sat, 23 Oct 2010 20:00:19 +0000 (13:00 -0700)
commit76eda6f7bc726e7b7a2ffa0559bdc861b52d8e04
treeefd9bc883af75b03e0f407841d54f32097a4105c
parent4bf6730eac2ce1fb1610c9a4be822a2c738f379a
compat: fix device_lock functions on non rt kernel

CONFIG_NONE and CONFIG_PREEMPT_VOLUNTARY are not added by the last RT
patch. I have not found any references to CONFIG_NONE, probably
CONFIG_PREEMPT_NONE was meant, but that is also wrong like
CONFIG_PREEMPT_VOLUNTARY. These two options are also in the normal kernel
config system without the rt patch.

This patch only checks for KConfig options added by the rt patch, but a
rt-patch user could also select PREEMPT_NONE or PREEMPT_VOLUNTARY, and
compat-wireless will not build. I do not think this will hapen often, so leave
it like this.

This patch fixes build with all non rt-kernels.

CC: Blaise Gassend <blaise@willowgarage.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
include/linux/compat-2.6.34.h