From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750990Ab1HIEIf (ORCPT ); Tue, 9 Aug 2011 00:08:35 -0400 Received: from mga14.intel.com ([143.182.124.37]:36643 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750779Ab1HIEIe (ORCPT ); Tue, 9 Aug 2011 00:08:34 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.67,341,1309762800"; d="scan'208";a="5307112" Message-ID: <4E40B2BF.3030608@linux.intel.com> Date: Mon, 08 Aug 2011 21:08:31 -0700 From: Darren Hart User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0 MIME-Version: 1.0 To: lkml CC: linux-rt-users , Peter Zijlstra , "Ashfield, Bruce" Subject: [PATCH][RT] fix KM_TYPE_NR undeclared in sched.h on 32 bit x86 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Patch peter_zijlstra-re-_3_0-rt4.patch causes 32 bit compilations to fail with: sched.h:1592:17: error: ‘KM_TYPE_NR’ undeclared here (not in a function) Including asm/kmap_types in sched.h resolves the issue. Signed-off-by: Darren Hart CC: Peter Zijlstra CC: Bruce Ashfield --- include/linux/sched.h | 1 + 1 file changed, 1 insertion(+) Index: linux-3.0-rt/include/linux/sched.h =================================================================== --- linux-3.0-rt.orig/include/linux/sched.h +++ linux-3.0-rt/include/linux/sched.h @@ -63,6 +63,7 @@ struct sched_param { #include #include +#include #include #include #include -- Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel