* Fwd: [PATCH] 2.5.37 - xtime removal and __FUNCTION__ change
@ 2002-10-02 10:56 Rogier Wolff
0 siblings, 0 replies; only message in thread
From: Rogier Wolff @ 2002-10-02 10:56 UTC (permalink / raw)
To: Linus Torvalds, Kernel Mailing List; +Cc: romieu
Hi Linus,
Accompanying patch approved by author (me :-) ....
Roger.
----- Forwarded message from Francois Romieu <romieu@cogenit.fr> -----
From: Francois Romieu <romieu@cogenit.fr>
To: Rogier Wolff <R.E.Wolff@BitWizard.nl>
Date: Fri, 20 Sep 2002 22:11:38 +0200
Subject: [PATCH] 2.5.37 - xtime removal and __FUNCTION__ change
Greetings,
I hadn't done a compile fest on 2.5.x for quite some time. Interesting.
- __FUNCTION__ parsing doesn't seem to be welcome any more;
- xtime type has changed. do_gettimeofday() looks like the way to go.
Please forward to Linus if appropriate.
diff -urpN linux-2.5.37.orig/drivers/atm/firestream.c linux-2.5.37/drivers/atm/firestream.c
--- linux-2.5.37.orig/drivers/atm/firestream.c Fri Sep 20 20:45:33 2002
+++ linux-2.5.37/drivers/atm/firestream.c Fri Sep 20 21:44:28 2002
@@ -330,8 +330,8 @@ MODULE_PARM(fs_keystream, "i");
#define FS_DEBUG_QSIZE 0x00001000
-#define func_enter() fs_dprintk (FS_DEBUG_FLOW, "fs: enter " __FUNCTION__ "\n")
-#define func_exit() fs_dprintk (FS_DEBUG_FLOW, "fs: exit " __FUNCTION__ "\n")
+#define func_enter() fs_dprintk(FS_DEBUG_FLOW, "fs: enter %s\n", __FUNCTION__ )
+#define func_exit() fs_dprintk(FS_DEBUG_FLOW, "fs: exit %s\n", __FUNCTION__ )
struct fs_dev *fs_boards = NULL;
@@ -814,7 +814,7 @@ static void process_incoming (struct fs_
skb_put (skb, qe->p1 & 0xffff);
ATM_SKB(skb)->vcc = atm_vcc;
atomic_inc(&atm_vcc->stats->rx);
- skb->stamp = xtime;
+ do_gettimeofday(&skb->stamp);
fs_dprintk (FS_DEBUG_ALLOC, "Free rec-skb: %p (pushed)\n", skb);
atm_vcc->push (atm_vcc, skb);
fs_dprintk (FS_DEBUG_ALLOC, "Free rec-d: %p\n", pe);
----- End forwarded message -----
--
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2600998 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
* The Worlds Ecosystem is a stable system. Stable systems may experience *
* excursions from the stable situation. We are currenly in such an *
* excursion: The stable situation does not include humans. ***************
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-10-02 10:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-02 10:56 Fwd: [PATCH] 2.5.37 - xtime removal and __FUNCTION__ change Rogier Wolff
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.