From: Anton Vorontsov <avorontsov@ru.mvista.com>
To: Scott Wood <scottwood@freescale.com>
Cc: linuxppc-dev@ozlabs.org, Timur Tabi <timur@freescale.com>
Subject: Re: [PATCH] powerpc/83xx: Fix few build errors with CONFIG_QUICC_ENGINE=n
Date: Tue, 16 Dec 2008 22:14:19 +0300 [thread overview]
Message-ID: <20081216191419.GA31928@oksana.dev.rtsoft.ru> (raw)
In-Reply-To: <4947FABD.8090209@freescale.com>
On Tue, Dec 16, 2008 at 01:00:13PM -0600, Scott Wood wrote:
> Anton Vorontsov wrote:
>> GCC can still issue the of_find_node_by_name() call. (I wonder if
>> there is any way to tell gcc that particular function doesn't
>> produce any side-effects so that gcc can optimize it away too).
>
> __attribute__((pure))
Ah, thanks!
But I forgot that of_find_node_by_name() and friends aren't
actually "pure", they're getting the node. :-(
--
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2
next prev parent reply other threads:[~2008-12-16 19:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-05 16:55 [PATCH] powerpc/83xx: Fix few build errors with CONFIG_QUICC_ENGINE=n Anton Vorontsov
2008-12-05 16:59 ` [PATCH] powerpc/qe: " Anton Vorontsov
2008-12-30 17:19 ` Kumar Gala
2008-12-05 17:09 ` [PATCH] powerpc/83xx: " Kumar Gala
2008-12-05 17:14 ` Timur Tabi
2008-12-16 18:18 ` Kumar Gala
2008-12-16 18:44 ` Anton Vorontsov
2008-12-16 19:00 ` Scott Wood
2008-12-16 19:14 ` Anton Vorontsov [this message]
2008-12-16 22:57 ` Kumar Gala
2008-12-22 17:12 ` Anton Vorontsov
2008-12-30 17:19 ` Kumar Gala
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=20081216191419.GA31928@oksana.dev.rtsoft.ru \
--to=avorontsov@ru.mvista.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=scottwood@freescale.com \
--cc=timur@freescale.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.