aboutsummaryrefslogtreecommitdiffstats
path: root/main/dahdi-linux-vserver/dahdi-zaphfc.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-10-22 13:20:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-10-22 13:20:41 +0000
commit91f083c0cc2993c261b578eaf17eca561f6ab705 (patch)
tree58f066bb4c90ebb7f87f60a9db7e0b8d63d0c603 /main/dahdi-linux-vserver/dahdi-zaphfc.patch
parent934550384dbf3e9fe3502bd4dfa4ae06857a4912 (diff)
downloadaports-91f083c0cc2993c261b578eaf17eca561f6ab705.tar.bz2
aports-91f083c0cc2993c261b578eaf17eca561f6ab705.tar.xz
main/dahdi-linux-vserver: update patches and enable
patches are updated from -grsec
Diffstat (limited to 'main/dahdi-linux-vserver/dahdi-zaphfc.patch')
-rw-r--r--main/dahdi-linux-vserver/dahdi-zaphfc.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/dahdi-linux-vserver/dahdi-zaphfc.patch b/main/dahdi-linux-vserver/dahdi-zaphfc.patch
index b711c07ff9..3e6c7e0a36 100644
--- a/main/dahdi-linux-vserver/dahdi-zaphfc.patch
+++ b/main/dahdi-linux-vserver/dahdi-zaphfc.patch
@@ -77,7 +77,7 @@ Index: dahdi-linux-2.1.0/drivers/dahdi/zaphfc.c
+static int modes = 0; // all TE
+static int debug = 0;
+static struct pci_dev *multi_hfc = NULL;
-+static spinlock_t registerlock = SPIN_LOCK_UNLOCKED;
++static DEFINE_SPINLOCK(registerlock);
+
+void hfc_shutdownCard(struct hfc_card *hfctmp) {
+ unsigned long flags;