#ifdef RANDOM_FAIL_ALLOC
int LL_PROC_PROTO(proc_alloc_fail_rate)
{
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,8)
- loff_t *ppos = &filp->f_pos;
-#endif
int rc = 0;
+ DECLARE_LL_PROC_PPOS_DECL;
if (!table->data || !table->maxlen || !*lenp || (*ppos && !write)) {
*lenp = 0;