From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Thu, 5 Apr 2012 16:35:43 -0400 Subject: [U-Boot] [PATCH] usb: use noinline define In-Reply-To: <201204052224.14831.marek.vasut@gmail.com> References: <1333601093-21481-1-git-send-email-vapier@gentoo.org> <201204051529.21585.vapier@gentoo.org> <201204052224.14831.marek.vasut@gmail.com> Message-ID: <201204051635.44443.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 05 April 2012 16:24:14 Marek Vasut wrote: > Dear Mike Frysinger, > > On Thursday 05 April 2012 15:19:11 Marek Vasut wrote: > > > Dear Mike Frysinger, > > > > On Thursday 05 April 2012 06:13:21 Marek Vasut wrote: > > > > > Dear Mike Frysinger, > > > > > > Building usb for Blackfin boards fails as we get linux/compiler.h > > > > > > included which expands the "noinline" inside of the attribute and > > > > > > we get attribute(attribute(noinline)). > > > > > > > > > > > > Explicitly use the helper define to avoid this. > > > > > > > > > > Ain't compiler.h broken then? > > > > > > > > no ... why would it be ? > > > > > > Because it colides with gcc stuff? > > > > it provides shortcuts so you don't have to go grubbing into __attribute__ > > syntax, and it does so in a way that supports multiple gcc versions and > > compilers (although the latter isn't generally a realistic use case for > > us). > > U-Boot/LLVM or U-Boot/VC ? ;-) > > We'll have to support LLVM eventually anyway. true ... people want to use llvm/clang for some reason (who cares about code generation!?). linux/compiler.h will make that much easier for us. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: