Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1483144

[PATCH 1/2] cpu/hotplug: Include linux/types.h in linux/cpuhotplug.h

From Paul Burton <paul.burton@imgtec.com>
Newsgroups linux.kernel
Subject [PATCH 1/2] cpu/hotplug: Include linux/types.h in linux/cpuhotplug.h
Date 2016-09-14 12:10 +0200
Message-ID <shfiF-7ZI-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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@imgtec.com>
---

 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,
-- 
2.9.3

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] cpu/hotplug: Include linux/types.h in linux/cpuhotplug.h Paul Burton <paul.burton@imgtec.com> - 2016-09-14 12:10 +0200
  [PATCH 2/2] MIPS: pm-cps: Generate idle state entry code when CPUs are onlined Paul Burton <paul.burton@imgtec.com> - 2016-09-14 12:10 +0200
  [tip:smp/urgent] cpu/hotplug: Include linux/types.h in  linux/cpuhotplug.h tip-bot for Paul Burton <tipbot@zytor.com> - 2016-09-14 15:40 +0200

csiph-web