Commit 6cfeaf51 authored by Paul Burton's avatar Paul Burton Committed by Thomas Gleixner

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: default avatarPaul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Richard Cochran <rcochran@linutronix.de>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Anna-Maria Gleixner <anna-maria@linutronix.de>
Link: http://lkml.kernel.org/r/20160914100027.20945-1-paul.burton@imgtec.comSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 9395452b
#ifndef __CPUHOTPLUG_H #ifndef __CPUHOTPLUG_H
#define __CPUHOTPLUG_H #define __CPUHOTPLUG_H
#include <linux/types.h>
enum cpuhp_state { enum cpuhp_state {
CPUHP_OFFLINE, CPUHP_OFFLINE,
CPUHP_CREATE_THREADS, CPUHP_CREATE_THREADS,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment