[parisc-linux-cvs] Re: 2.4.18-pa18 fixup nested includes

Grant Grundler grundler@dsl2.external.hp.com
Sun, 15 Sep 2002 22:46:59 -0600


Grant Grundler wrote:
> Log message:
> fixup nested includes - no change in content

no change in binary output - just fix nested includes
as suggested by willy.

grant

--- include/linux/fs_struct.h   13 Sep 2002 21:43:37 -0000      1.5
+++ include/linux/fs_struct.h   16 Sep 2002 04:42:17 -0000
@@ -2,12 +2,8 @@
 #define _LINUX_FS_STRUCT_H
 #ifdef __KERNEL__
   
-#include <linux/config.h>
-
-#include <asm/atomic.h>
-#ifdef CONFIG_SMP
-#include <asm/spinlock.h>
-#endif
+#include <linux/spinlock.h>    /* for RW_LOCK_* */
+#include <asm/atomic.h>                /* for atomic_t */
    
 struct fs_struct {
	atomic_t count;