From: "Wohlgemuth, Jason" <jason_wohlgemuth@gilbarco.com>
To: "'linuxppc-embedded@lists.linuxppc.org'"
<linuxppc-embedded@lists.linuxppc.org>
Subject: Patch for qspan_pci.c problem with GCC 2.95.2
Date: Mon, 10 Jan 2000 09:55:44 -0500 [thread overview]
Message-ID: <200001101455.JAA10125@hoover.gilbarco.com> (raw)
Anyone trying to build in pci support to the kernel using GCC 2.95.2 may
find this patch helpful.
It seems that in the inline-assembly in qspan_pci.c the compiler doesn't
recognize that the first argument to the assembly may be modified. This
resulted in a register getting trashed where it shouldn't have. To fix the
problem I modified the in-line assembly to tell the compiler that this
register has been changed.
86c86
< : "=r"(x) : "r"(addr) : "%0")
---
> : "=r"(x) : "r"(addr))
Jason <jwohlgem@mindspring.com>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next reply other threads:[~2000-01-10 14:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-10 14:55 Wohlgemuth, Jason [this message]
2000-01-10 19:39 ` Patch for qspan_pci.c problem with GCC 2.95.2 Dan Malek
2000-01-10 21:10 ` Where Do I start ? Silmaril Mail
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=200001101455.JAA10125@hoover.gilbarco.com \
--to=jason_wohlgemuth@gilbarco.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
/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;
as well as URLs for NNTP newsgroup(s).