Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755771AbYJYDdt (ORCPT ); Fri, 24 Oct 2008 23:33:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753306AbYJYDbZ (ORCPT ); Fri, 24 Oct 2008 23:31:25 -0400 Received: from rv-out-0506.google.com ([209.85.198.224]:19879 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753543AbYJYDau (ORCPT ); Fri, 24 Oct 2008 23:30:50 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=Z1pl5Nw3NC+iUpcRXG1XPVwPKdGc9xPOr4aftzLwZHqW1kz5qEBSJfCf8ggb6ZZQqM ayPiDUaVNwx7gAf62NRCoMonH7M9Wd+WEfIwNhN80/b8UVxU4RSsnnTaEVfDJDDWJVtx Qr7j4/ENmwY+lE/Lma4tLSyFquv8DnNNgmn24= From: Joe Damato To: linux-x86_64@vger.kernel.org, linux-newbie@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Joe Damato Subject: [PATCH 08/12] x86: Use static intializer for IDT entries Date: Fri, 24 Oct 2008 20:15:28 -0700 Message-Id: X-Mailer: git-send-email 1.5.4.3 In-Reply-To: <4d0ab6d642a4edc3ecc7367df7043ecc8f0a7f98.1224903712.git.ice799@gmail.com> References: <> <1224904532-9586-1-git-send-email-ice799@gmail.com> <52f8491fb5d55c0171840b01638ea6db0a98f3be.1224903712.git.ice799@gmail.com> <03269a2e8f455b431612a32e8cce048e98c75b27.1224903712.git.ice799@gmail.com> <4810cc08c12cd78612b53f9b52d7ba93a9b03fd0.1224903712.git.ice799@gmail.com> <8834ad1ab5a5ab9b4902ab708160b23f078f3758.1224903712.git.ice799@gmail.com> <4d0ab6d642a4edc3ecc7367df7043ecc8f0a7f98.1224903712.git.ice799@gmail.com> In-Reply-To: <52f8491fb5d55c0171840b01638ea6db0a98f3be.1224903712.git.ice799@gmail.com> References: <52f8491fb5d55c0171840b01638ea6db0a98f3be.1224903712.git.ice799@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 849 Lines: 28 Use static intializer for IDT entries. Signed-off-by: Joe Damato --- arch/x86/kernel/traps.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c index e062974..b308d71 100644 --- a/arch/x86/kernel/traps.c +++ b/arch/x86/kernel/traps.c @@ -86,7 +86,7 @@ char ignore_fpu_irq; * for this. */ gate_desc idt_table[256] - __attribute__((__section__(".data.idt"))) = { { { { 0, 0 } } }, }; + __attribute__((__section__(".data.idt"))) = { __IDT_INITIALIZER(0, 0) }; #endif static int ignore_nmis; -- 1.5.4.3 -- 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/