Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754679Ab2HSC6v (ORCPT ); Sat, 18 Aug 2012 22:58:51 -0400 Received: from mga14.intel.com ([143.182.124.37]:30968 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753025Ab2HSC51 (ORCPT ); Sat, 18 Aug 2012 22:57:27 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.77,792,1336374000"; d="scan'208";a="135817669" From: Andi Kleen To: linux-kernel@vger.kernel.org Cc: x86@kernel.org, mmarek@suse.cz, linux-kbuild@vger.kernel.org, JBeulich@suse.com, akpm@linux-foundation.org, Andi Kleen Subject: [PATCH 20/74] x86, lto: Change dotraplinkage into __visible on 32bit Date: Sat, 18 Aug 2012 19:56:16 -0700 Message-Id: <1345345030-22211-21-git-send-email-andi@firstfloor.org> X-Mailer: git-send-email 1.7.7.6 In-Reply-To: <1345345030-22211-1-git-send-email-andi@firstfloor.org> References: <1345345030-22211-1-git-send-email-andi@firstfloor.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 918 Lines: 31 From: Andi Kleen Mark 32bit dotraplinkage functions as __visible for LTO. 64bit already is using asmlinkage which includes it. Signed-off-by: Andi Kleen --- arch/x86/include/asm/traps.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/include/asm/traps.h b/arch/x86/include/asm/traps.h index 88eae2a..cc67b3f 100644 --- a/arch/x86/include/asm/traps.h +++ b/arch/x86/include/asm/traps.h @@ -7,7 +7,7 @@ #include /* TRAP_TRACE, ... */ #ifdef CONFIG_X86_32 -#define dotraplinkage +#define dotraplinkage __visible #else #define dotraplinkage asmlinkage #endif -- 1.7.7.6 -- 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/