summaryrefslogtreecommitdiffstats
path: root/main/dahdi-linux-grsec/zaphfc-dahdi-flortz.diff
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-10-20 10:33:47 -0400
committerTimo Teräs <timo.teras@iki.fi>2011-10-20 10:33:47 -0400
commited5fe58cea4aa858d89166fe2cb730e47ff84201 (patch)
treeab35452758978d6534b8be7da3fb9eb6890b67bb /main/dahdi-linux-grsec/zaphfc-dahdi-flortz.diff
parent0f297032cdf827b77fdbafd3f831018c2aff8f8d (diff)
downloadaports-ed5fe58cea4aa858d89166fe2cb730e47ff84201.tar.bz2
aports-ed5fe58cea4aa858d89166fe2cb730e47ff84201.tar.xz
main/dahd-linux-grsec: re-enable with grsec compilation issues addressed
* turn off the constify plugin: it breaks the build * update zaphfc patch to define spinlock with proper syntax
Diffstat (limited to 'main/dahdi-linux-grsec/zaphfc-dahdi-flortz.diff')
-rw-r--r--main/dahdi-linux-grsec/zaphfc-dahdi-flortz.diff2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/dahdi-linux-grsec/zaphfc-dahdi-flortz.diff b/main/dahdi-linux-grsec/zaphfc-dahdi-flortz.diff
index 719accdc6..f1ecc093a 100644
--- a/main/dahdi-linux-grsec/zaphfc-dahdi-flortz.diff
+++ b/main/dahdi-linux-grsec/zaphfc-dahdi-flortz.diff
@@ -164,7 +164,7 @@ Index: dahdi-linux-2.1.0.4/drivers/dahdi/zaphfc.c
+static int jitterbuffer = 1;
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;