From: Wolfgang Denk Date: Tue, 17 May 2011 11:27:41 +0200 Subject: [U-Boot] [PATCH v3 02/10] armv7: add miscellaneous utility macros In-Reply-To: <4DD23561.70105@ti.com> References: <1299589658-30896-1-git-send-email-aneesh@ti.com> <1305202276-27784-3-git-send-email-aneesh@ti.com> <20110515184421.D7AB91491B06@gemini.denx.de> <20110516055102.2E15B1491B07@gemini.denx.de> <20110517052716.50A141491B08@gemini.denx.de> <4DD23561.70105@ti.com> Message-ID: <20110517092741.CB5591491B09@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Aneesh V, In message <4DD23561.70105@ti.com> you wrote: > > In fact I had searched for a macro for similar needs as my > set_bit_field() is addressing in Linux Kernel too but didn't find any. ... > I couldn't find any utility macros/functions for doing something like > this. > > Please somebody correct me if I am wrong. I am not aware of such a functionality in the Linux kernel, either. A quick search did not even show any attempts to introduce such macros to Linux. It appears they don't need such a feature ? But I may easily be overlooking something. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de If I ever needed a brain transplant, I'd choose a teenager's because I'd want a brain that had never been used.