build: remove support for Linux 2.6.35

This commit is contained in:
Jan Engelhardt
2012-10-16 02:29:27 +02:00
parent 3e337562d7
commit 693c32f414
7 changed files with 6 additions and 30 deletions

View File

@@ -151,11 +151,7 @@ static unsigned int sysrq_tg(const void *pdata, uint16_t len)
sysrq_seqno = new_seqno;
for (i = 0; i < len && data[i] != ','; ++i) {
printk(KERN_INFO KBUILD_MODNAME ": SysRq %c\n", data[i]);
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36)
handle_sysrq(data[i]);
#else
handle_sysrq(data[i], NULL);
#endif
}
return NF_ACCEPT;
@@ -186,11 +182,7 @@ static unsigned int sysrq_tg(const void *pdata, uint16_t len)
return NF_DROP;
}
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36)
handle_sysrq(c);
#else
handle_sysrq(c, NULL);
#endif
return NF_ACCEPT;
}
#endif