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/dahdi-zaphfc.patch | |
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/dahdi-zaphfc.patch')
-rw-r--r-- | main/dahdi-linux-grsec/dahdi-zaphfc.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/dahdi-linux-grsec/dahdi-zaphfc.patch b/main/dahdi-linux-grsec/dahdi-zaphfc.patch index b711c07ff9..3e6c7e0a36 100644 --- a/main/dahdi-linux-grsec/dahdi-zaphfc.patch +++ b/main/dahdi-linux-grsec/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; |