From ed5fe58cea4aa858d89166fe2cb730e47ff84201 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Thu, 20 Oct 2011 10:33:47 -0400 Subject: 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 --- main/dahdi-linux-grsec/zaphfc-dahdi-flortz.diff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/dahdi-linux-grsec/zaphfc-dahdi-flortz.diff') 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; -- cgit v1.2.3