From 8cbf58e418712e5e3cd8a7d161027c868de51c57 Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Wed, 18 Jul 2007 23:36:36 +1000 Subject: [PATCH] --- yaml --- r: 67378 b: refs/heads/master c: 20b31b53ea87e598ea8159f109b4217ad185fce5 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/ppc/syslib/ocp.c | 2 +- trunk/include/asm-powerpc/rwsem.h | 4 ++++ trunk/include/asm-ppc/ocp.h | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 4e14ab42f809..517a13ae2462 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 555ddbb4e2191c8823df2d61525218ac39481385 +refs/heads/master: 20b31b53ea87e598ea8159f109b4217ad185fce5 diff --git a/trunk/arch/ppc/syslib/ocp.c b/trunk/arch/ppc/syslib/ocp.c index 491fe9a57229..3f5be2c5ce99 100644 --- a/trunk/arch/ppc/syslib/ocp.c +++ b/trunk/arch/ppc/syslib/ocp.c @@ -44,11 +44,11 @@ #include #include #include +#include #include #include #include -#include #include //#define DBG(x) printk x diff --git a/trunk/include/asm-powerpc/rwsem.h b/trunk/include/asm-powerpc/rwsem.h index e929145e1e46..cefc14728cc5 100644 --- a/trunk/include/asm-powerpc/rwsem.h +++ b/trunk/include/asm-powerpc/rwsem.h @@ -1,6 +1,10 @@ #ifndef _ASM_POWERPC_RWSEM_H #define _ASM_POWERPC_RWSEM_H +#ifndef _LINUX_RWSEM_H +#error "Please don't include directly, use instead." +#endif + #ifdef __KERNEL__ /* diff --git a/trunk/include/asm-ppc/ocp.h b/trunk/include/asm-ppc/ocp.h index 16dbc7d17450..1379a4f76de3 100644 --- a/trunk/include/asm-ppc/ocp.h +++ b/trunk/include/asm-ppc/ocp.h @@ -27,10 +27,10 @@ #include #include #include +#include #include #include -#include #include #ifdef CONFIG_PPC_OCP