Skip to content

Commit 6cfeaf5

Browse files
paulburtonKAGA-KOKO
authored andcommitted
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 <[email protected]> Cc: [email protected] Cc: Richard Cochran <[email protected]> Cc: Sebastian Andrzej Siewior <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: Anna-Maria Gleixner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
1 parent 9395452 commit 6cfeaf5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/linux/cpuhotplug.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef __CPUHOTPLUG_H
22
#define __CPUHOTPLUG_H
33

4+
#include <linux/types.h>
5+
46
enum cpuhp_state {
57
CPUHP_OFFLINE,
68
CPUHP_CREATE_THREADS,

0 commit comments

Comments
 (0)