[PATCH] fix remaining missing includes
Fix more include file problems that surfaced since I submitted the previous fix-missing-includes.patch. This should now allow not to include sched.h from module.h, which is done by a followup patch. Signed-off-by: Tim Schmielau <tim@physik3.uni-rostock.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
6fdcc21622
commit
8c65b4a604
@@ -10,6 +10,7 @@
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <asm/smp.h> /* cpu_online_map */
|
||||
|
||||
#if !defined(CONFIG_ARCH_S390)
|
||||
|
||||
|
||||
@@ -54,6 +54,9 @@ struct memory_block {
|
||||
*/
|
||||
#define MEM_MAPPING_INVALID (1<<3)
|
||||
|
||||
struct notifier_block;
|
||||
struct mem_section;
|
||||
|
||||
#ifndef CONFIG_MEMORY_HOTPLUG
|
||||
static inline int memory_dev_init(void)
|
||||
{
|
||||
|
||||
@@ -79,6 +79,8 @@ struct seminfo {
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
struct task_struct;
|
||||
|
||||
/* One semaphore structure for each semaphore in the system. */
|
||||
struct sem {
|
||||
int semval; /* current value */
|
||||
|
||||
@@ -54,6 +54,7 @@ struct __wait_queue_head {
|
||||
};
|
||||
typedef struct __wait_queue_head wait_queue_head_t;
|
||||
|
||||
struct task_struct;
|
||||
|
||||
/*
|
||||
* Macros for declaration and initialisaton of the datatypes
|
||||
|
||||
Reference in New Issue
Block a user