Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754350AbZLTTEB (ORCPT ); Sun, 20 Dec 2009 14:04:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752822AbZLTTEA (ORCPT ); Sun, 20 Dec 2009 14:04:00 -0500 Received: from mga07.intel.com ([143.182.124.22]:63763 "EHLO azsmga101.ch.intel.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750950AbZLTTEA (ORCPT ); Sun, 20 Dec 2009 14:04:00 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.47,316,1257148800"; d="scan'208";a="224988970" Message-ID: <4B2E751B.8050706@linux.intel.com> Date: Sun, 20 Dec 2009 20:03:55 +0100 From: Andi Kleen User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Thiago Farina CC: linux-kernel@vger.kernel.org, Ingo Molnar , Frederic Weisbecker , Andrew Morton , Arjan van de Ven , Steven Rostedt , "Paul E. McKenney" , Yinghai Lu Subject: Re: [PATCH 1/2] kernel: Use CALLER_ADDR0 macro. References: <1261332469-25298-1-git-send-email-tfransosi@gmail.com> In-Reply-To: <1261332469-25298-1-git-send-email-tfransosi@gmail.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 610 Lines: 16 Thiago Farina wrote: > Use CALLER_ADDR0 instead of (unsigned long)__builtin_return_address(0), > since this macro was created for this. > > This patch was generated by: > sed -i "s/(unsigned long)__builtin_return_address(0)/CALLER_ADDR0/g" path/to/file The new macro looks more obfuscated than the old straight forward call. I fail to see the improvement. -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/