From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759048Ab3HNAIo (ORCPT ); Tue, 13 Aug 2013 20:08:44 -0400 Received: from mga09.intel.com ([134.134.136.24]:44590 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757995Ab3HNAHW (ORCPT ); Tue, 13 Aug 2013 20:07:22 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.89,873,1367996400"; d="scan'208";a="386655095" From: Andi Kleen To: linux-kernel@vger.kernel.org Cc: x86@kernel.org, torvalds@linux-foundation.org, Andi Kleen Subject: [PATCH 2/8] x86: Include linux/sched.h in asm/uaccess.h Date: Tue, 13 Aug 2013 17:07:10 -0700 Message-Id: <1376438836-13339-3-git-send-email-andi@firstfloor.org> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1376438836-13339-1-git-send-email-andi@firstfloor.org> References: <1376438836-13339-1-git-send-email-andi@firstfloor.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andi Kleen uaccess.h uses might_sleep, but there is currently no explicit include for this. Since a upcoming patch moves might_sleep into sched.h include sched.h here. Signed-off-by: Andi Kleen --- arch/x86/include/asm/uaccess.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/uaccess.h b/arch/x86/include/asm/uaccess.h index 5ee2687..8fa3bd6 100644 --- a/arch/x86/include/asm/uaccess.h +++ b/arch/x86/include/asm/uaccess.h @@ -3,6 +3,7 @@ /* * User space memory access functions */ +#include #include #include #include -- 1.8.3.1