[tip:smp/urgent] cpu/hotplug: Include linux/types.h in linux/cpuhotplug.h

From: tip-bot for Paul Burton
Date: Wed Sep 14 2016 - 09:37:11 EST


Commit-ID: 6cfeaf5125d425043d44002d0a1a8a147be582bf
Gitweb: http://git.kernel.org/tip/6cfeaf5125d425043d44002d0a1a8a147be582bf
Author: Paul Burton <paul.burton@xxxxxxxxxx>
AuthorDate: Wed, 14 Sep 2016 11:00:26 +0100
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitDate: Wed, 14 Sep 2016 15:31:53 +0200

cpu/hotplug: Include linux/types.h in linux/cpuhotplug.h

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 <paul.burton@xxxxxxxxxx>
Cc: linux-mips@xxxxxxxxxxxxxx
Cc: Richard Cochran <rcochran@xxxxxxxxxxxxx>
Cc: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
Cc: Anna-Maria Gleixner <anna-maria@xxxxxxxxxxxxx>
Link: http://lkml.kernel.org/r/20160914100027.20945-1-paul.burton@xxxxxxxxxx
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

---
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 <linux/types.h>
+
enum cpuhp_state {
CPUHP_OFFLINE,
CPUHP_CREATE_THREADS,