diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-10-20 10:33:47 -0400 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-10-20 10:33:47 -0400 |
commit | ed5fe58cea4aa858d89166fe2cb730e47ff84201 (patch) | |
tree | ab35452758978d6534b8be7da3fb9eb6890b67bb /main/dahdi-linux-grsec/zaphfc-dahdi-flortz.diff | |
parent | 0f297032cdf827b77fdbafd3f831018c2aff8f8d (diff) | |
download | aports-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.diff | 2 |
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; |