Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 284565 | Differences between
and this patch

Collapse All | Expand All

(-)fritz/src.org/driver.c (-1 / +1 lines)
Lines 569-575 static void __kcapi reset_ctrl (struct c Link Here
569
		}
569
		}
570
	}
570
	}
571
	stop (card);
571
	stop (card);
572
	capi_ctr_reseted (ctrl);
572
	capi_ctr_down (ctrl);
573
#if defined (__fcpnp__)
573
#if defined (__fcpnp__)
574
	pnp_disable_dev (card->dev);
574
	pnp_disable_dev (card->dev);
575
#endif
575
#endif
(-)fritz/src.org/tools.h (-8 lines)
Lines 71-84 extern void vlprintf (const char *, cons Link Here
71
71
72
/*---------------------------------------------------------------------------*\
72
/*---------------------------------------------------------------------------*\
73
\*---------------------------------------------------------------------------*/
73
\*---------------------------------------------------------------------------*/
74
#ifndef atomic_xchg
75
static inline unsigned long atomic_xchg (
76
	volatile atomic_t *	v, 
77
	unsigned		value
78
) {
79
	return __xchg (value, &v->counter, sizeof (unsigned));
80
} /* atomic_xchg */
81
#endif
82
/*---------------------------------------------------------------------------*\
74
/*---------------------------------------------------------------------------*\
83
\*---------------------------------------------------------------------------*/
75
\*---------------------------------------------------------------------------*/
84
#ifndef NDEBUG
76
#ifndef NDEBUG

Return to bug 284565