From: Philippe Elie <phil.el@wanadoo.fr>
To: Thomas Schlichter <thomas.schlichter@web.de>
Cc: Andrew Morton <akpm@osdl.org>, Andreas Schwab <schwab@suse.de>,
linux-kernel@vger.kernel.org,
"Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Subject: Re: [2.6.4-rc2] bogus semicolon behind if()
Date: Wed, 10 Mar 2004 06:08:04 +0000 [thread overview]
Message-ID: <20040310060804.GB2958@zaniah> (raw)
In-Reply-To: <200403091208.20556.thomas.schlichter@web.de>
On Tue, 09 Mar 2004 at 12:08 +0000, Thomas Schlichter wrote:
> As I wrote a few days ago I have problems with that ChangeSet,
> (http://marc.theaimsgroup.com/?l=linux-kernel&m=107840458123059&w=2)
> so I did examine it closer.
errmm, http://tinyurl.com/2jbe4
Maciej, you wrote this patch, any comment ?
> so I did examine it closer.
>
> My results are:
> 1. The semicolons behind the if()'s cannot be there intentionally.
> 2. To fix my problem, timer_ack must be set to 1 for my (integrated) APIC, and
> as my CPU has a TSC, this cannot be correct for me:
> - timer_ack = 1;
> + if (nmi_watchdog == NMI_IO_APIC && !APIC_INTEGRATED(ver))
> + timer_ack = 1;
> + else
> + timer_ack = !cpu_has_tsc;
I don't get the figure, this code in check_timer() is called by
setup_IO_APIC so APIC_INTEGRATED(ver) is always 0 ?
> I changed that if(...) to
> if (nmi_watchdog == NMI_IO_APIC || APIC_INTEGRATED(ver))
> which works fine for me here, but I am not 100% sure if this is what the
> author of the original patch ment and if it still fixes the original
> problem...
regards,
Phil
next prev parent reply other threads:[~2004-03-10 5:07 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-08 23:14 Thomas Schlichter
2004-03-08 23:43 ` Andreas Schwab
2004-03-08 23:56 ` Thomas Schlichter
2004-03-09 0:29 ` Andrew Morton
2004-03-09 7:01 ` Philippe Elie
2004-03-09 11:08 ` Thomas Schlichter
2004-03-10 6:08 ` Philippe Elie [this message]
2004-03-10 16:20 ` Zwane Mwaikambo
2004-03-17 17:20 ` Maciej W. Rozycki
2004-03-17 16:51 ` Maciej W. Rozycki
2004-03-17 18:25 ` Andrew Morton
2004-03-17 18:50 ` Maciej W. Rozycki
2004-03-18 9:46 ` Mikael Pettersson
2004-03-18 9:52 ` Andrew Morton
2004-03-21 3:51 ` Zwane Mwaikambo
2004-03-21 3:55 ` Zwane Mwaikambo
2004-03-19 19:01 ` Thomas Schlichter
2004-03-19 20:30 ` Maciej W. Rozycki
2004-03-19 23:13 ` Thomas Schlichter
2004-03-09 0:33 ` Andrew Morton
2004-03-09 11:09 ` Thomas Schlichter
2004-03-20 17:04 Mikael Pettersson
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=20040310060804.GB2958@zaniah \
--to=phil.el@wanadoo.fr \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=macro@ds2.pg.gda.pl \
--cc=schwab@suse.de \
--cc=thomas.schlichter@web.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®