From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Rothwell Subject: Re: [PATCH 2/2] of/flattree: Make unflatten_device_tree() safe to call from any arch Date: Tue, 23 Feb 2010 09:51:18 +1100 Message-ID: <20100223095118.bed93bac.sfr@canb.auug.org.au> References: <20100222154816.3604.67114.stgit@angua> <20100222155059.3604.39718.stgit@angua> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9216781571797643769==" Return-path: In-Reply-To: <20100222155059.3604.39718.stgit@angua> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Grant Likely Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, jeremy.kerr-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org --===============9216781571797643769== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Tue__23_Feb_2010_09_51_18_+1100_A6Y9ntPsHTviplAx" --Signature=_Tue__23_Feb_2010_09_51_18_+1100_A6Y9ntPsHTviplAx Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Grant, On Mon, 22 Feb 2010 08:50:59 -0700 Grant Likely = wrote: > > - If CONFIG_OF_FLATTREE is not set, then make unflatten_device_tree() > an empty #define. Any reason not to make this a static inline? > +#define unflatten_device_tree() do {} while(0) static inline void unflatten_device_tree(void) {} --=20 Cheers, Stephen Rothwell sfr-3FnU+UHB4dNDw9hX6IcOSA@public.gmane.org http://www.canb.auug.org.au/~sfr/ --Signature=_Tue__23_Feb_2010_09_51_18_+1100_A6Y9ntPsHTviplAx Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkuDCmYACgkQjjKRsyhoI8yz3QCdF3W500UskKk8Dr5TaZyBwdLv j6gAmgMpa3hZ1wTvPIN/LIM9HwRxFKKH =VgF8 -----END PGP SIGNATURE----- --Signature=_Tue__23_Feb_2010_09_51_18_+1100_A6Y9ntPsHTviplAx-- --===============9216781571797643769== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ devicetree-discuss mailing list devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org https://lists.ozlabs.org/listinfo/devicetree-discuss --===============9216781571797643769==--