--- btsco.c.orig 2008-12-23 11:59:43.000000000 +0100 +++ btsco.c 2008-12-23 12:34:27.000000000 +0100 @@ -21,7 +21,6 @@ * */ - /* note: defining these two independently is not tested, * thus not recommended */ @@ -94,6 +93,13 @@ #define SNDRV_BT_SCO_IOCTL_SET_SCO_SOCKET _IOW ('H', 0x10, int) #define SNDRV_BT_SCO_IOCTL_REQ_INFO _IO ('H', 0x11) +/*modification for 2.6.27 kernel which has no kill_proc function*/ +static inline int kill_proc(pid_t pid, int sig, int priv) +{ + return kill_pid(find_pid_ns(pid, &init_pid_ns), sig, priv); +} +/*End modification for 2.6.27 kernel*/ + static int index[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -2}; /* Exclude the first card */ #define MOD_REVISION "$Revision: 1.19 $";