From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760588AbcINKBL (ORCPT ); Wed, 14 Sep 2016 06:01:11 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:53154 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753872AbcINKBK (ORCPT ); Wed, 14 Sep 2016 06:01:10 -0400 From: Paul Burton To: , Ralf Baechle CC: Paul Burton , Sebastian Andrzej Siewior , , Thomas Gleixner , Ingo Molnar , Anna-Maria Gleixner , Richard Cochran Subject: [PATCH 1/2] cpu/hotplug: Include linux/types.h in linux/cpuhotplug.h Date: Wed, 14 Sep 2016 11:00:26 +0100 Message-ID: <20160914100027.20945-1-paul.burton@imgtec.com> X-Mailer: git-send-email 2.9.3 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.100.200.175] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The linux/cpuhotplug.h header makes use of the bool type, but wasn't including linux/types.h to ensure that type has been defined. Fix this by including linux/types.h in preparation for including linux/cpuhotplug.h in a file that doesn't do so already. Signed-off-by: Paul Burton --- include/linux/cpuhotplug.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/cpuhotplug.h b/include/linux/cpuhotplug.h index 242bf53..34bd805 100644 --- a/include/linux/cpuhotplug.h +++ b/include/linux/cpuhotplug.h @@ -1,6 +1,8 @@ #ifndef __CPUHOTPLUG_H #define __CPUHOTPLUG_H +#include + enum cpuhp_state { CPUHP_OFFLINE, CPUHP_CREATE_THREADS, -- 2.9.3