aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hisax/hisax.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/hisax/hisax.h')
-rw-r--r--drivers/isdn/hisax/hisax.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/drivers/isdn/hisax/hisax.h b/drivers/isdn/hisax/hisax.h
index 75920aa0a3c5..2f9d5118ceaf 100644
--- a/drivers/isdn/hisax/hisax.h
+++ b/drivers/isdn/hisax/hisax.h
@@ -1316,7 +1316,18 @@ void dlogframe(struct IsdnCardState *cs, struct sk_buff *skb, int dir);
1316void iecpy(u_char * dest, u_char * iestart, int ieoffset); 1316void iecpy(u_char * dest, u_char * iestart, int ieoffset);
1317#endif /* __KERNEL__ */ 1317#endif /* __KERNEL__ */
1318 1318
1319#define HZDELAY(jiffs) {int tout = jiffs; while (tout--) udelay(1000000/HZ);} 1319/*
1320 * Busywait delay for `jiffs' jiffies
1321 */
1322#define HZDELAY(jiffs) do { \
1323 int tout = jiffs; \
1324 \
1325 while (tout--) { \
1326 int loops = USEC_PER_SEC / HZ; \
1327 while (loops--) \
1328 udelay(1); \
1329 } \
1330 } while (0)
1320 1331
1321int ll_run(struct IsdnCardState *cs, int addfeatures); 1332int ll_run(struct IsdnCardState *cs, int addfeatures);
1322int CallcNew(void); 1333int CallcNew(void);