From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753439Ab3KOXTT (ORCPT ); Fri, 15 Nov 2013 18:19:19 -0500 Received: from mga01.intel.com ([192.55.52.88]:38537 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752595Ab3KOXTJ (ORCPT ); Fri, 15 Nov 2013 18:19:09 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.93,710,1378882800"; d="scan'208";a="428548559" From: "Kirill A. Shutemov" To: Tony Luck Cc: "Kirill A. Shutemov" , Andrew Morton , Peter Zijlstra , Ingo Molnar , Linux Kernel Mailing List , "linux-mm@kvack.org" In-Reply-To: References: <1383833644-27091-1-git-send-email-kirill.shutemov@linux.intel.com> Subject: Re: [PATCH 1/2] mm: Properly separate the bloated ptl from the regular case Content-Transfer-Encoding: 7bit Message-Id: <20131115231548.60418E0090@blue.fi.intel.com> Date: Sat, 16 Nov 2013 01:15:48 +0200 (EET) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tony Luck wrote: > On Fri, Nov 15, 2013 at 2:01 PM, Tony Luck wrote: > Help! Could you try this: >>From 661b6057c435fbae265b394b277a0b16bf02d255 Mon Sep 17 00:00:00 2001 From: "Kirill A. Shutemov" Date: Sat, 16 Nov 2013 01:09:17 +0200 Subject: [PATCH] kernel/bounds: avoid circular dependencies in generated headers has havy dependencies on other header files. It trigger circular dependencies in generated headers on IA64, at least: CC kernel/bounds.s In file included from /home/space/kas/git/public/linux/arch/ia64/include/asm/thread_info.h:9:0, from include/linux/thread_info.h:54, from include/asm-generic/preempt.h:4, from arch/ia64/include/generated/asm/preempt.h:1, from include/linux/preempt.h:18, from include/linux/spinlock.h:50, from kernel/bounds.c:14: /home/space/kas/git/public/linux/arch/ia64/include/asm/asm-offsets.h:1:35: fatal error: generated/asm-offsets.h: No such file or directory compilation terminated. Let's replace with , it's enough to find out size of spinlock_t. Signed-off-by: Kirill A. Shutemov --- kernel/bounds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/bounds.c b/kernel/bounds.c index 578782ef6ae1..5253204afdca 100644 --- a/kernel/bounds.c +++ b/kernel/bounds.c @@ -11,7 +11,7 @@ #include #include #include -#include +#include void foo(void) { -- Kirill A. Shutemov