From: Rogier Wolff <R.E.Wolff@BitWizard.nl>
To: Linus Torvalds <torvalds@transmeta.com>,
Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: romieu@cogenit.fr
Subject: Fwd: [PATCH] 2.5.37 - xtime removal and __FUNCTION__ change
Date: Wed, 2 Oct 2002 12:56:56 +0200 [thread overview]
Message-ID: <20021002125656.A7246@bitwizard.nl> (raw)
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. ***************
reply other threads:[~2002-10-02 10:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021002125656.A7246@bitwizard.nl \
--to=r.e.wolff@bitwizard.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=romieu@cogenit.fr \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.