From 85002dd39d65ff0c91bb6501197dc8067dbecaa5 Mon Sep 17 00:00:00 2001 From: Zheng Da Date: Fri, 1 Jan 2010 19:17:17 +0100 Subject: Change the path of header files. TODO We need to handle initcall properly. --- libdde_linux26/include/dde26.h | 2 +- libdde_linux26/include/linux/kernel.h | 4 +-- libdde_linux26/include/linux/mm.h | 2 +- libdde_linux26/include/linux/spinlock_types.h | 2 +- libdde_linux26/lib/src/arch/l4/init.c | 4 +-- libdde_linux26/lib/src/arch/l4/local.h | 36 +++++++++++++-------------- 6 files changed, 25 insertions(+), 25 deletions(-) diff --git a/libdde_linux26/include/dde26.h b/libdde_linux26/include/dde26.h index d1a4c171..ae64d909 100644 --- a/libdde_linux26/include/dde26.h +++ b/libdde_linux26/include/dde26.h @@ -1,7 +1,7 @@ #ifndef __DDE_26_H #define __DDE_26_H -#include +#include #define WARN_UNIMPL printk("unimplemented: %s\n", __FUNCTION__) diff --git a/libdde_linux26/include/linux/kernel.h b/libdde_linux26/include/linux/kernel.h index f5ec1ecf..573ed07c 100644 --- a/libdde_linux26/include/linux/kernel.h +++ b/libdde_linux26/include/linux/kernel.h @@ -162,7 +162,7 @@ extern long (*panic_blink)(long time); NORET_TYPE void panic(const char * fmt, ...) __attribute__ ((NORET_AND format (printf, 1, 2))) __cold; #else -#include +#include #define panic ddekit_panic #endif extern void oops_enter(void); @@ -249,7 +249,7 @@ extern int printk_ratelimit(void); extern bool printk_timed_ratelimit(unsigned long *caller_jiffies, unsigned int interval_msec); #else // DDE_LINUX -#include +#include #define printk ddekit_printf #endif #else diff --git a/libdde_linux26/include/linux/mm.h b/libdde_linux26/include/linux/mm.h index a3d0d3c6..8f61963c 100644 --- a/libdde_linux26/include/linux/mm.h +++ b/libdde_linux26/include/linux/mm.h @@ -15,7 +15,7 @@ #include #ifdef DDE_LINUX -#include +#include #endif struct mempolicy; diff --git a/libdde_linux26/include/linux/spinlock_types.h b/libdde_linux26/include/linux/spinlock_types.h index 51339e01..3d4dd796 100644 --- a/libdde_linux26/include/linux/spinlock_types.h +++ b/libdde_linux26/include/linux/spinlock_types.h @@ -101,7 +101,7 @@ typedef struct { #else -#include +#include typedef struct { ddekit_lock_t ddekit_lock; diff --git a/libdde_linux26/lib/src/arch/l4/init.c b/libdde_linux26/lib/src/arch/l4/init.c index e89ef27f..79112f78 100644 --- a/libdde_linux26/lib/src/arch/l4/init.c +++ b/libdde_linux26/lib/src/arch/l4/init.c @@ -1,7 +1,7 @@ #include "local.h" -#include -#include +#include +#include #define DEBUG_PCI(msg, ...) ddekit_printf( "\033[33m"msg"\033[0m\n", ##__VA_ARGS__) diff --git a/libdde_linux26/lib/src/arch/l4/local.h b/libdde_linux26/lib/src/arch/l4/local.h index 35b3e449..d834a9db 100644 --- a/libdde_linux26/lib/src/arch/l4/local.h +++ b/libdde_linux26/lib/src/arch/l4/local.h @@ -3,24 +3,24 @@ #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include #define DDE_DEBUG 1 #define DDE_FERRET 0 -- cgit v1.2.3