Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756172AbYLaLOr (ORCPT ); Wed, 31 Dec 2008 06:14:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755389AbYLaLOj (ORCPT ); Wed, 31 Dec 2008 06:14:39 -0500 Received: from casper.infradead.org ([85.118.1.10]:41563 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752963AbYLaLOj (ORCPT ); Wed, 31 Dec 2008 06:14:39 -0500 Subject: [PATCH] x86: ldt.c fix style problems From: Jaswinder Singh Rajput To: Ingo Molnar , Andi Kleen , x86 maintainers , LKML Content-Type: text/plain Date: Wed, 31 Dec 2008 16:42:20 +0530 Message-Id: <1230721940.3738.5.camel@jaswinder.satnam> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 (2.22.1-2.fc9) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1251 Lines: 46 Impact: cleanup, fix style problems Fixes style problems: WARNING: Use #include instead of ERROR: space required before the open parenthesis '(' total: 1 errors, 1 warnings Signed-off-by: Jaswinder Singh Rajput --- arch/x86/kernel/ldt.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/ldt.c b/arch/x86/kernel/ldt.c index eee32b4..71f1d99 100644 --- a/arch/x86/kernel/ldt.c +++ b/arch/x86/kernel/ldt.c @@ -12,8 +12,8 @@ #include #include #include +#include -#include #include #include #include @@ -93,7 +93,7 @@ static inline int copy_ldt(mm_context_t *new, mm_context_t *old) if (err < 0) return err; - for(i = 0; i < old->size; i++) + for (i = 0; i < old->size; i++) write_ldt_entry(new->ldt, i, old->ldt + i * LDT_ENTRY_SIZE); return 0; } -- 1.5.5.1 -- 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/