Re: [PATCH] Remove fs.h from mm.h

2007-07-30 Thread Paul Mundt
On Mon, Jul 30, 2007 at 02:36:13AM +0400, Alexey Dobriyan wrote:
> 0) Remove fs.h from mm.h. For this,
> 1) Uninline vma_wants_writenotify(). It's pretty huge anyway.
> 2) Add back fs.h or less bloated headers (err.h) to files that need it.
> 
sh ended up breaking all over the place, and sh64 in a few others.
I'll roll the fixes in to my git trees, but here they are for reference.

--

 arch/sh/kernel/init_task.c |2 +-
 arch/sh/kernel/process.c   |1 +
 arch/sh/kernel/sys_sh.c|1 +
 arch/sh/kernel/vsyscall/vsyscall.c |1 +
 arch/sh/mm/pg-sh4.c|1 +
 arch/sh64/kernel/init_task.c   |2 +-
 arch/sh64/kernel/process.c |1 +
 arch/sh64/kernel/sys_sh64.c|1 +
 arch/sh64/lib/dbg.c|1 +
 9 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/arch/sh/kernel/init_task.c b/arch/sh/kernel/init_task.c
index 44053ea..4b449c4 100644
--- a/arch/sh/kernel/init_task.c
+++ b/arch/sh/kernel/init_task.c
@@ -3,7 +3,7 @@
 #include 
 #include 
 #include 
-
+#include 
 #include 
 #include 
 
diff --git a/arch/sh/kernel/process.c b/arch/sh/kernel/process.c
index 6334a4c..44ebe06 100644
--- a/arch/sh/kernel/process.c
+++ b/arch/sh/kernel/process.c
@@ -18,6 +18,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
diff --git a/arch/sh/kernel/sys_sh.c b/arch/sh/kernel/sys_sh.c
index 76b1bc7..024ce5d 100644
--- a/arch/sh/kernel/sys_sh.c
+++ b/arch/sh/kernel/sys_sh.c
@@ -21,6 +21,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
diff --git a/arch/sh/kernel/vsyscall/vsyscall.c 
b/arch/sh/kernel/vsyscall/vsyscall.c
index 2aa9438..95f4de0 100644
--- a/arch/sh/kernel/vsyscall/vsyscall.c
+++ b/arch/sh/kernel/vsyscall/vsyscall.c
@@ -18,6 +18,7 @@
 #include 
 #include 
 #include 
+#include 
 
 /*
  * Should the kernel map a VDSO page into processes and pass its
diff --git a/arch/sh/mm/pg-sh4.c b/arch/sh/mm/pg-sh4.c
index df69da9..f4810aa 100644
--- a/arch/sh/mm/pg-sh4.c
+++ b/arch/sh/mm/pg-sh4.c
@@ -8,6 +8,7 @@
  */
 #include 
 #include 
+#include 
 #include 
 #include 
 
diff --git a/arch/sh64/kernel/init_task.c b/arch/sh64/kernel/init_task.c
index de2d07d..deee8bf 100644
--- a/arch/sh64/kernel/init_task.c
+++ b/arch/sh64/kernel/init_task.c
@@ -14,7 +14,7 @@
 #include 
 #include 
 #include 
-
+#include 
 #include 
 #include 
 
diff --git a/arch/sh64/kernel/process.c b/arch/sh64/kernel/process.c
index 1b89c9d..ceb9458 100644
--- a/arch/sh64/kernel/process.c
+++ b/arch/sh64/kernel/process.c
@@ -21,6 +21,7 @@
  * This file handles the architecture-dependent parts of process handling..
  */
 #include 
+#include 
 #include 
 #include 
 #include 
diff --git a/arch/sh64/kernel/sys_sh64.c b/arch/sh64/kernel/sys_sh64.c
index 19126da..b7f18e2 100644
--- a/arch/sh64/kernel/sys_sh64.c
+++ b/arch/sh64/kernel/sys_sh64.c
@@ -19,6 +19,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
diff --git a/arch/sh64/lib/dbg.c b/arch/sh64/lib/dbg.c
index 4310fc8..97816e0 100644
--- a/arch/sh64/lib/dbg.c
+++ b/arch/sh64/lib/dbg.c
@@ -12,6 +12,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 
 typedef u64 regType_t;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] Remove fs.h from mm.h

2007-07-30 Thread Bryan Wu
On Mon, 2007-07-30 at 23:43 +0400, Alexey Dobriyan wrote:
> On Mon, Jul 30, 2007 at 12:42:07PM +0800, Bryan Wu wrote:
> > Can I do something to help this regression testing?
> >
> > Please feel free to ask me.
> 
> Sorry, blackfin toolchain doesn't like me, so I can't test this myself.
> Check current -git if I screwed up anything.
> 
Oh, do you need use blackfin toolchain? Actually, it is very simple to
setup it on your machine.
please get the latest binary toolchain here:
http://blackfin.uclinux.org/gf/download/frsrelease/344/3180/blackfin-toolchain-uclinux-SVN.tar.bz2
http://blackfin.uclinux.org/gf/download/frsrelease/344/3181/blackfin-toolchain-linux-uclibc-SVN.tar.bz2

 - untar these 2 tar ball
 - add the path to your environment variables
 - ready to compile the kernel by these blackfin cross toolchain

> It still takes too much time from clean git pull to final patch, so
> sending it to you would  increase risk that someone will touch core
> headers nontrivially invalidating all work.

Need I to generate the patch? I will take a look at the latest git-tree.

Many thanks, we hope you can add our blackfin to your cross-build check.

Best Regards,
- Bryan Wu
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] Remove fs.h from mm.h

2007-07-30 Thread Hirokazu Takata
From: Alexey Dobriyan <[EMAIL PROTECTED]>
> Apologies. I just finished adding m32r to my cross-build setup, so there
> shouldn't be any more such breakages.

Many thanks for your erabolation of cross-build check.

-- Takata
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] Remove fs.h from mm.h

2007-07-30 Thread Mike Frysinger
On 7/30/07, Alexey Dobriyan <[EMAIL PROTECTED]> wrote:
> On Sun, Jul 29, 2007 at 05:08:20PM -0700, Linus Torvalds wrote:
> > On Mon, 30 Jul 2007, Alexey Dobriyan wrote:
> > >
> > > Cross-compile tested without regressions on my two usual configs and 
> > > (sigh):
> > >
> > > alpha  arm-mx1adsmips-bigsur  powerpc-ebony
> > ..
> >
> > Heh.
> >
> > Kudos for going above and beyond.
> >
> >   "But where is blackfin and frv?"
>
> Actually frv was tested (and patched), just not glued to cross-build
> setup, so I forgot to mention it. As for blackfin, ehh, umm, toolchain
> issues...

what sort of issues ?
-mike
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] Remove fs.h from mm.h

2007-07-30 Thread Alexey Dobriyan
On Mon, Jul 30, 2007 at 10:00:47PM +0900, Hirokazu Takata wrote:
> This change breaks m32r, too.

Apologies. I just finished adding m32r to my cross-build setup, so there
shouldn't be any more such breakages.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] Remove fs.h from mm.h

2007-07-30 Thread Alexey Dobriyan
On Sun, Jul 29, 2007 at 05:08:20PM -0700, Linus Torvalds wrote:
> On Mon, 30 Jul 2007, Alexey Dobriyan wrote:
> > 
> > Cross-compile tested without regressions on my two usual configs and (sigh):
> > 
> > alpha  arm-mx1adsmips-bigsur  powerpc-ebony
> ..
> 
> Heh. 
> 
> Kudos for going above and beyond.
> 
>   "But where is blackfin and frv?"

Actually frv was tested (and patched), just not glued to cross-build
setup, so I forgot to mention it. As for blackfin, ehh, umm, toolchain
issues...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] Remove fs.h from mm.h

2007-07-30 Thread Hirokazu Takata
Hi, Alexery,

This change breaks m32r, too.
Don't forget updating the other archs, please.

From: Linus Torvalds <[EMAIL PROTECTED]>
Subject: Re: [PATCH] Remove fs.h from mm.h
Date: Sun, 29 Jul 2007 17:08:20 -0700 (PDT)
> 
> On Mon, 30 Jul 2007, Alexey Dobriyan wrote:
> > 
> > Cross-compile tested without regressions on my two usual configs and (sigh):
> > 
> > alpha  arm-mx1adsmips-bigsur  powerpc-ebony
> ..
> 
> Heh. 
> 
> Kudos for going above and beyond.
> 
>   "But where is blackfin and frv?"
> 
> Thanks,
> 
>   Linus
> -

Here is a patch for the m32r.

[PATCH] m32r: build fix for removing fs.h from mm.h

This patch is required against the commit:
  Remove fs.h from mm.h
  4e950f6f0189f65f8bf069cf2272649ef418f5e4

Signed-off-by: Hirokazu Takata <[EMAIL PROTECTED]>
---
 arch/m32r/kernel/ptrace.c   |1 +
 arch/m32r/kernel/smpboot.c  |1 +
 arch/m32r/kernel/sys_m32r.c |1 +
 3 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/m32r/kernel/ptrace.c b/arch/m32r/kernel/ptrace.c
index 57a92ef..62a5142 100644
--- a/arch/m32r/kernel/ptrace.c
+++ b/arch/m32r/kernel/ptrace.c
@@ -17,6 +17,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
diff --git a/arch/m32r/kernel/smpboot.c b/arch/m32r/kernel/smpboot.c
index 3eb3059..9dae410 100644
--- a/arch/m32r/kernel/smpboot.c
+++ b/arch/m32r/kernel/smpboot.c
@@ -43,6 +43,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
diff --git a/arch/m32r/kernel/sys_m32r.c b/arch/m32r/kernel/sys_m32r.c
index bda8554..b13dbbe 100644
--- a/arch/m32r/kernel/sys_m32r.c
+++ b/arch/m32r/kernel/sys_m32r.c
@@ -10,6 +10,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
-- 
1.5.2.4

--
Hirokazu Takata <[EMAIL PROTECTED]>
Linux/M32R Project:  http://www.linux-m32r.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] Remove fs.h from mm.h

2007-07-30 Thread Hirokazu Takata
Hi, Alexery,

This change breaks m32r, too.
Don't forget updating the other archs, please.

From: Linus Torvalds [EMAIL PROTECTED]
Subject: Re: [PATCH] Remove fs.h from mm.h
Date: Sun, 29 Jul 2007 17:08:20 -0700 (PDT)
 
 On Mon, 30 Jul 2007, Alexey Dobriyan wrote:
  
  Cross-compile tested without regressions on my two usual configs and (sigh):
  
  alpha  arm-mx1adsmips-bigsur  powerpc-ebony
 ..
 
 Heh. 
 
 Kudos for going above and beyond.
 
   But where is blackfin and frv?
 
 Thanks,
 
   Linus
 -

Here is a patch for the m32r.

[PATCH] m32r: build fix for removing fs.h from mm.h

This patch is required against the commit:
  Remove fs.h from mm.h
  4e950f6f0189f65f8bf069cf2272649ef418f5e4

Signed-off-by: Hirokazu Takata [EMAIL PROTECTED]
---
 arch/m32r/kernel/ptrace.c   |1 +
 arch/m32r/kernel/smpboot.c  |1 +
 arch/m32r/kernel/sys_m32r.c |1 +
 3 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/m32r/kernel/ptrace.c b/arch/m32r/kernel/ptrace.c
index 57a92ef..62a5142 100644
--- a/arch/m32r/kernel/ptrace.c
+++ b/arch/m32r/kernel/ptrace.c
@@ -17,6 +17,7 @@
 #include linux/kernel.h
 #include linux/sched.h
 #include linux/mm.h
+#include linux/err.h
 #include linux/smp.h
 #include linux/smp_lock.h
 #include linux/errno.h
diff --git a/arch/m32r/kernel/smpboot.c b/arch/m32r/kernel/smpboot.c
index 3eb3059..9dae410 100644
--- a/arch/m32r/kernel/smpboot.c
+++ b/arch/m32r/kernel/smpboot.c
@@ -43,6 +43,7 @@
 #include linux/init.h
 #include linux/kernel.h
 #include linux/mm.h
+#include linux/err.h
 #include linux/irq.h
 #include linux/bootmem.h
 #include linux/delay.h
diff --git a/arch/m32r/kernel/sys_m32r.c b/arch/m32r/kernel/sys_m32r.c
index bda8554..b13dbbe 100644
--- a/arch/m32r/kernel/sys_m32r.c
+++ b/arch/m32r/kernel/sys_m32r.c
@@ -10,6 +10,7 @@
 #include linux/errno.h
 #include linux/sched.h
 #include linux/mm.h
+#include linux/fs.h
 #include linux/smp.h
 #include linux/sem.h
 #include linux/msg.h
-- 
1.5.2.4

--
Hirokazu Takata [EMAIL PROTECTED]
Linux/M32R Project:  http://www.linux-m32r.org/
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] Remove fs.h from mm.h

2007-07-30 Thread Alexey Dobriyan
On Sun, Jul 29, 2007 at 05:08:20PM -0700, Linus Torvalds wrote:
 On Mon, 30 Jul 2007, Alexey Dobriyan wrote:
  
  Cross-compile tested without regressions on my two usual configs and (sigh):
  
  alpha  arm-mx1adsmips-bigsur  powerpc-ebony
 ..
 
 Heh. 
 
 Kudos for going above and beyond.
 
   But where is blackfin and frv?

Actually frv was tested (and patched), just not glued to cross-build
setup, so I forgot to mention it. As for blackfin, ehh, umm, toolchain
issues...

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] Remove fs.h from mm.h

2007-07-30 Thread Alexey Dobriyan
On Mon, Jul 30, 2007 at 10:00:47PM +0900, Hirokazu Takata wrote:
 This change breaks m32r, too.

Apologies. I just finished adding m32r to my cross-build setup, so there
shouldn't be any more such breakages.

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] Remove fs.h from mm.h

2007-07-30 Thread Mike Frysinger
On 7/30/07, Alexey Dobriyan [EMAIL PROTECTED] wrote:
 On Sun, Jul 29, 2007 at 05:08:20PM -0700, Linus Torvalds wrote:
  On Mon, 30 Jul 2007, Alexey Dobriyan wrote:
  
   Cross-compile tested without regressions on my two usual configs and 
   (sigh):
  
   alpha  arm-mx1adsmips-bigsur  powerpc-ebony
  ..
 
  Heh.
 
  Kudos for going above and beyond.
 
But where is blackfin and frv?

 Actually frv was tested (and patched), just not glued to cross-build
 setup, so I forgot to mention it. As for blackfin, ehh, umm, toolchain
 issues...

what sort of issues ?
-mike
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] Remove fs.h from mm.h

2007-07-30 Thread Hirokazu Takata
From: Alexey Dobriyan [EMAIL PROTECTED]
 Apologies. I just finished adding m32r to my cross-build setup, so there
 shouldn't be any more such breakages.

Many thanks for your erabolation of cross-build check.

-- Takata
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] Remove fs.h from mm.h

2007-07-30 Thread Bryan Wu
On Mon, 2007-07-30 at 23:43 +0400, Alexey Dobriyan wrote:
 On Mon, Jul 30, 2007 at 12:42:07PM +0800, Bryan Wu wrote:
  Can I do something to help this regression testing?
 
  Please feel free to ask me.
 
 Sorry, blackfin toolchain doesn't like me, so I can't test this myself.
 Check current -git if I screwed up anything.
 
Oh, do you need use blackfin toolchain? Actually, it is very simple to
setup it on your machine.
please get the latest binary toolchain here:
http://blackfin.uclinux.org/gf/download/frsrelease/344/3180/blackfin-toolchain-uclinux-SVN.tar.bz2
http://blackfin.uclinux.org/gf/download/frsrelease/344/3181/blackfin-toolchain-linux-uclibc-SVN.tar.bz2

 - untar these 2 tar ball
 - add the path to your environment variables
 - ready to compile the kernel by these blackfin cross toolchain

 It still takes too much time from clean git pull to final patch, so
 sending it to you would  increase risk that someone will touch core
 headers nontrivially invalidating all work.

Need I to generate the patch? I will take a look at the latest git-tree.

Many thanks, we hope you can add our blackfin to your cross-build check.

Best Regards,
- Bryan Wu
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] Remove fs.h from mm.h

2007-07-30 Thread Paul Mundt
On Mon, Jul 30, 2007 at 02:36:13AM +0400, Alexey Dobriyan wrote:
 0) Remove fs.h from mm.h. For this,
 1) Uninline vma_wants_writenotify(). It's pretty huge anyway.
 2) Add back fs.h or less bloated headers (err.h) to files that need it.
 
sh ended up breaking all over the place, and sh64 in a few others.
I'll roll the fixes in to my git trees, but here they are for reference.

--

 arch/sh/kernel/init_task.c |2 +-
 arch/sh/kernel/process.c   |1 +
 arch/sh/kernel/sys_sh.c|1 +
 arch/sh/kernel/vsyscall/vsyscall.c |1 +
 arch/sh/mm/pg-sh4.c|1 +
 arch/sh64/kernel/init_task.c   |2 +-
 arch/sh64/kernel/process.c |1 +
 arch/sh64/kernel/sys_sh64.c|1 +
 arch/sh64/lib/dbg.c|1 +
 9 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/arch/sh/kernel/init_task.c b/arch/sh/kernel/init_task.c
index 44053ea..4b449c4 100644
--- a/arch/sh/kernel/init_task.c
+++ b/arch/sh/kernel/init_task.c
@@ -3,7 +3,7 @@
 #include linux/sched.h
 #include linux/init_task.h
 #include linux/mqueue.h
-
+#include linux/fs.h
 #include asm/uaccess.h
 #include asm/pgtable.h
 
diff --git a/arch/sh/kernel/process.c b/arch/sh/kernel/process.c
index 6334a4c..44ebe06 100644
--- a/arch/sh/kernel/process.c
+++ b/arch/sh/kernel/process.c
@@ -18,6 +18,7 @@
 #include linux/kdebug.h
 #include linux/tick.h
 #include linux/reboot.h
+#include linux/fs.h
 #include asm/uaccess.h
 #include asm/mmu_context.h
 #include asm/pgalloc.h
diff --git a/arch/sh/kernel/sys_sh.c b/arch/sh/kernel/sys_sh.c
index 76b1bc7..024ce5d 100644
--- a/arch/sh/kernel/sys_sh.c
+++ b/arch/sh/kernel/sys_sh.c
@@ -21,6 +21,7 @@
 #include linux/file.h
 #include linux/utsname.h
 #include linux/module.h
+#include linux/fs.h
 #include asm/cacheflush.h
 #include asm/uaccess.h
 #include asm/ipc.h
diff --git a/arch/sh/kernel/vsyscall/vsyscall.c 
b/arch/sh/kernel/vsyscall/vsyscall.c
index 2aa9438..95f4de0 100644
--- a/arch/sh/kernel/vsyscall/vsyscall.c
+++ b/arch/sh/kernel/vsyscall/vsyscall.c
@@ -18,6 +18,7 @@
 #include linux/module.h
 #include linux/elf.h
 #include linux/sched.h
+#include linux/err.h
 
 /*
  * Should the kernel map a VDSO page into processes and pass its
diff --git a/arch/sh/mm/pg-sh4.c b/arch/sh/mm/pg-sh4.c
index df69da9..f4810aa 100644
--- a/arch/sh/mm/pg-sh4.c
+++ b/arch/sh/mm/pg-sh4.c
@@ -8,6 +8,7 @@
  */
 #include linux/mm.h
 #include linux/mutex.h
+#include linux/fs.h
 #include asm/mmu_context.h
 #include asm/cacheflush.h
 
diff --git a/arch/sh64/kernel/init_task.c b/arch/sh64/kernel/init_task.c
index de2d07d..deee8bf 100644
--- a/arch/sh64/kernel/init_task.c
+++ b/arch/sh64/kernel/init_task.c
@@ -14,7 +14,7 @@
 #include linux/sched.h
 #include linux/init_task.h
 #include linux/mqueue.h
-
+#include linux/fs.h
 #include asm/uaccess.h
 #include asm/pgtable.h
 
diff --git a/arch/sh64/kernel/process.c b/arch/sh64/kernel/process.c
index 1b89c9d..ceb9458 100644
--- a/arch/sh64/kernel/process.c
+++ b/arch/sh64/kernel/process.c
@@ -21,6 +21,7 @@
  * This file handles the architecture-dependent parts of process handling..
  */
 #include linux/mm.h
+#include linux/fs.h
 #include linux/ptrace.h
 #include linux/reboot.h
 #include linux/init.h
diff --git a/arch/sh64/kernel/sys_sh64.c b/arch/sh64/kernel/sys_sh64.c
index 19126da..b7f18e2 100644
--- a/arch/sh64/kernel/sys_sh64.c
+++ b/arch/sh64/kernel/sys_sh64.c
@@ -19,6 +19,7 @@
 #include linux/rwsem.h
 #include linux/sched.h
 #include linux/mm.h
+#include linux/fs.h
 #include linux/smp.h
 #include linux/sem.h
 #include linux/msg.h
diff --git a/arch/sh64/lib/dbg.c b/arch/sh64/lib/dbg.c
index 4310fc8..97816e0 100644
--- a/arch/sh64/lib/dbg.c
+++ b/arch/sh64/lib/dbg.c
@@ -12,6 +12,7 @@
 #include linux/kernel.h
 #include linux/sched.h
 #include linux/mm.h
+#include linux/fs.h
 #include asm/mmu_context.h
 
 typedef u64 regType_t;
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] Remove fs.h from mm.h

2007-07-29 Thread Bryan Wu
On Mon, 2007-07-30 at 08:08 +0800, Linus Torvalds wrote:
> 
> 
> On Mon, 30 Jul 2007, Alexey Dobriyan wrote: 
> >  
> > Cross-compile tested without regressions on my two usual configs and
> (sigh): 
> >  
> > alpha  arm-mx1adsmips-bigsur
> powerpc-ebony 
> ..
> 
> Heh. 
> 
> Kudos for going above and beyond.
> 
> "But where is blackfin and frv?"
> 
> Thanks,
> 
> Linus 

Hi Alexey,

Can I do something to help this regression testing?

Please feel free to ask me.

Thanks a lot
Best Regards,
- Bryan Wu
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] Remove fs.h from mm.h

2007-07-29 Thread Linus Torvalds


On Mon, 30 Jul 2007, Alexey Dobriyan wrote:
> 
> Cross-compile tested without regressions on my two usual configs and (sigh):
> 
> alpha  arm-mx1adsmips-bigsur  powerpc-ebony
..

Heh. 

Kudos for going above and beyond.

"But where is blackfin and frv?"

Thanks,

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] Remove fs.h from mm.h

2007-07-29 Thread Alexey Dobriyan
0) Remove fs.h from mm.h. For this,
1) Uninline vma_wants_writenotify(). It's pretty huge anyway.
2) Add back fs.h or less bloated headers (err.h) to files that need it.

As result, on x86_64 allyesconfig, fs.h dependencies cut down from 3929 files
rebuilt down to 3444 (-12.3%).

Cross-compile tested without regressions on my two usual configs and (sigh):

alpha  arm-mx1adsmips-bigsur  powerpc-ebony
alpha-allnoconfig  arm-neponset  mips-capcellapowerpc-g5
alpha-defconfigarm-netwinder mips-cobalt  powerpc-holly
alpha-up   arm-netx  mips-db1000  powerpc-iseries
armarm-ns9xxxmips-db1100  powerpc-linkstation
arm-assabetarm-omap_h2_1610  mips-db1200  powerpc-lite5200
arm-at91rm9200dk   arm-onearmmips-db1500  powerpc-maple
arm-at91rm9200ek   arm-picotux200mips-db1550  powerpc-mpc7448_hpc2
arm-at91sam9260ek  arm-pleb  mips-ddb5477 powerpc-mpc8272_ads
arm-at91sam9261ek  arm-pnx4008   mips-decstation  powerpc-mpc8313_rdb
arm-at91sam9263ek  arm-pxa255-idpmips-e55 powerpc-mpc832x_mds
arm-at91sam9rlek   arm-realview  mips-emma2rh powerpc-mpc832x_rdb
arm-ateb9200   arm-realview-smp  mips-excite  powerpc-mpc834x_itx
arm-badge4 arm-rpc   mips-fulong  powerpc-mpc834x_itxgp
arm-carmevaarm-s3c2410   mips-ip22powerpc-mpc834x_mds
arm-cerfcube   arm-shannon   mips-ip27powerpc-mpc836x_mds
arm-clps7500   arm-shark mips-ip32powerpc-mpc8540_ads
arm-collie arm-simpadmips-jazzpowerpc-mpc8544_ds
arm-corgi  arm-spitz mips-jmr3927 powerpc-mpc8560_ads
arm-csb337 arm-trizeps4  mips-malta   powerpc-mpc8568mds
arm-csb637 arm-versatile mips-mipssim powerpc-mpc85xx_cds
arm-ebsa110i386  mips-mpc30x  powerpc-mpc8641_hpcn
arm-edb7211i386-allnoconfig  mips-msp71xx powerpc-mpc866_ads
arm-em_x270i386-defconfigmips-ocelot  powerpc-mpc885_ads
arm-ep93xx i386-up   mips-pb1100  powerpc-pasemi
arm-footbridge ia64  mips-pb1500  powerpc-pmac32
arm-fortunet   ia64-allnoconfig  mips-pb1550  powerpc-ppc64
arm-h3600  ia64-bigsur   mips-pnx8550-jbs powerpc-prpmc2800
arm-h7201  ia64-defconfigmips-pnx8550-stb810  powerpc-ps3
arm-h7202  ia64-gensparsemips-qemupowerpc-pseries
arm-hackkitia64-sim  mips-rbhma4200   powerpc-up
arm-integrator ia64-sn2  mips-rbhma4500   s390
arm-iop13xxia64-tigermips-rm200   s390-allnoconfig
arm-iop32x ia64-up   mips-sb1250-swarms390-defconfig
arm-iop33x ia64-zx1  mips-seads390-up
arm-ixp2000m68k  mips-tb0219  sparc
arm-ixp23xxm68k-amigamips-tb0226  sparc-allnoconfig
arm-ixp4xx m68k-apollo   mips-tb0287  sparc-defconfig
arm-jornada720 m68k-atarimips-workpad sparc-up
arm-kafa   m68k-bvme6000 mips-wrppmc  sparc64
arm-kb9202 m68k-hp300mips-yosemitesparc64-allnoconfig
arm-ks8695 m68k-mac  parisc   sparc64-defconfig
arm-lart   m68k-mvme147  parisc-allnoconfig   sparc64-up
arm-lpd270 m68k-mvme16x  parisc-defconfig um-x86_64
arm-lpd7a400   m68k-q40  parisc-upx86_64
arm-lpd7a404   m68k-sun3 powerpc  x86_64-allnoconfig
arm-lubbockm68k-sun3xpowerpc-cell x86_64-defconfig
arm-lusl7200   mips  powerpc-celleb   x86_64-up
arm-mainstone  mips-atlaspowerpc-chrp32

Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]>
---

 arch/alpha/kernel/smp.c|1 
 arch/arm/kernel/setup.c|1 
 arch/arm/kernel/smp.c  |1 
 arch/frv/kernel/sys_frv.c  |1 
 arch/i386/kernel/microcode.c   |1 
 arch/i386/kernel/sys_i386.c|1 
 arch/i386/kernel/sysenter.c|1 
 arch/ia64/kernel/init_task.c   |1 
 arch/m68k/kernel/process.c |1 
 arch/m68k/kernel/sys_m68k.c|1 
 arch/mips/kernel/smp.c |1 
 arch/mips/kernel/syscall.c |1 
 arch/parisc/hpux/fs.c  |1 
 arch/parisc/kernel/init_task.c |1 
 arch/parisc/kernel/process.c   |1 
 arch/parisc/kernel/smp.c   |1 
 arch/powerpc/kernel/syscalls.c |1 
 arch/powerpc/lib/rheap.c   |1 
 arch/powerpc/oprofile/cell/spu_task_sync.c |

[PATCH] Remove fs.h from mm.h

2007-07-29 Thread Alexey Dobriyan
0) Remove fs.h from mm.h. For this,
1) Uninline vma_wants_writenotify(). It's pretty huge anyway.
2) Add back fs.h or less bloated headers (err.h) to files that need it.

As result, on x86_64 allyesconfig, fs.h dependencies cut down from 3929 files
rebuilt down to 3444 (-12.3%).

Cross-compile tested without regressions on my two usual configs and (sigh):

alpha  arm-mx1adsmips-bigsur  powerpc-ebony
alpha-allnoconfig  arm-neponset  mips-capcellapowerpc-g5
alpha-defconfigarm-netwinder mips-cobalt  powerpc-holly
alpha-up   arm-netx  mips-db1000  powerpc-iseries
armarm-ns9xxxmips-db1100  powerpc-linkstation
arm-assabetarm-omap_h2_1610  mips-db1200  powerpc-lite5200
arm-at91rm9200dk   arm-onearmmips-db1500  powerpc-maple
arm-at91rm9200ek   arm-picotux200mips-db1550  powerpc-mpc7448_hpc2
arm-at91sam9260ek  arm-pleb  mips-ddb5477 powerpc-mpc8272_ads
arm-at91sam9261ek  arm-pnx4008   mips-decstation  powerpc-mpc8313_rdb
arm-at91sam9263ek  arm-pxa255-idpmips-e55 powerpc-mpc832x_mds
arm-at91sam9rlek   arm-realview  mips-emma2rh powerpc-mpc832x_rdb
arm-ateb9200   arm-realview-smp  mips-excite  powerpc-mpc834x_itx
arm-badge4 arm-rpc   mips-fulong  powerpc-mpc834x_itxgp
arm-carmevaarm-s3c2410   mips-ip22powerpc-mpc834x_mds
arm-cerfcube   arm-shannon   mips-ip27powerpc-mpc836x_mds
arm-clps7500   arm-shark mips-ip32powerpc-mpc8540_ads
arm-collie arm-simpadmips-jazzpowerpc-mpc8544_ds
arm-corgi  arm-spitz mips-jmr3927 powerpc-mpc8560_ads
arm-csb337 arm-trizeps4  mips-malta   powerpc-mpc8568mds
arm-csb637 arm-versatile mips-mipssim powerpc-mpc85xx_cds
arm-ebsa110i386  mips-mpc30x  powerpc-mpc8641_hpcn
arm-edb7211i386-allnoconfig  mips-msp71xx powerpc-mpc866_ads
arm-em_x270i386-defconfigmips-ocelot  powerpc-mpc885_ads
arm-ep93xx i386-up   mips-pb1100  powerpc-pasemi
arm-footbridge ia64  mips-pb1500  powerpc-pmac32
arm-fortunet   ia64-allnoconfig  mips-pb1550  powerpc-ppc64
arm-h3600  ia64-bigsur   mips-pnx8550-jbs powerpc-prpmc2800
arm-h7201  ia64-defconfigmips-pnx8550-stb810  powerpc-ps3
arm-h7202  ia64-gensparsemips-qemupowerpc-pseries
arm-hackkitia64-sim  mips-rbhma4200   powerpc-up
arm-integrator ia64-sn2  mips-rbhma4500   s390
arm-iop13xxia64-tigermips-rm200   s390-allnoconfig
arm-iop32x ia64-up   mips-sb1250-swarms390-defconfig
arm-iop33x ia64-zx1  mips-seads390-up
arm-ixp2000m68k  mips-tb0219  sparc
arm-ixp23xxm68k-amigamips-tb0226  sparc-allnoconfig
arm-ixp4xx m68k-apollo   mips-tb0287  sparc-defconfig
arm-jornada720 m68k-atarimips-workpad sparc-up
arm-kafa   m68k-bvme6000 mips-wrppmc  sparc64
arm-kb9202 m68k-hp300mips-yosemitesparc64-allnoconfig
arm-ks8695 m68k-mac  parisc   sparc64-defconfig
arm-lart   m68k-mvme147  parisc-allnoconfig   sparc64-up
arm-lpd270 m68k-mvme16x  parisc-defconfig um-x86_64
arm-lpd7a400   m68k-q40  parisc-upx86_64
arm-lpd7a404   m68k-sun3 powerpc  x86_64-allnoconfig
arm-lubbockm68k-sun3xpowerpc-cell x86_64-defconfig
arm-lusl7200   mips  powerpc-celleb   x86_64-up
arm-mainstone  mips-atlaspowerpc-chrp32

Signed-off-by: Alexey Dobriyan [EMAIL PROTECTED]
---

 arch/alpha/kernel/smp.c|1 
 arch/arm/kernel/setup.c|1 
 arch/arm/kernel/smp.c  |1 
 arch/frv/kernel/sys_frv.c  |1 
 arch/i386/kernel/microcode.c   |1 
 arch/i386/kernel/sys_i386.c|1 
 arch/i386/kernel/sysenter.c|1 
 arch/ia64/kernel/init_task.c   |1 
 arch/m68k/kernel/process.c |1 
 arch/m68k/kernel/sys_m68k.c|1 
 arch/mips/kernel/smp.c |1 
 arch/mips/kernel/syscall.c |1 
 arch/parisc/hpux/fs.c  |1 
 arch/parisc/kernel/init_task.c |1 
 arch/parisc/kernel/process.c   |1 
 arch/parisc/kernel/smp.c   |1 
 arch/powerpc/kernel/syscalls.c |1 
 arch/powerpc/lib/rheap.c   |1 
 arch/powerpc/oprofile/cell/spu_task_sync.c |1 

Re: [PATCH] Remove fs.h from mm.h

2007-07-29 Thread Linus Torvalds


On Mon, 30 Jul 2007, Alexey Dobriyan wrote:
 
 Cross-compile tested without regressions on my two usual configs and (sigh):
 
 alpha  arm-mx1adsmips-bigsur  powerpc-ebony
..

Heh. 

Kudos for going above and beyond.

But where is blackfin and frv?

Thanks,

Linus
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] Remove fs.h from mm.h

2007-07-29 Thread Bryan Wu
On Mon, 2007-07-30 at 08:08 +0800, Linus Torvalds wrote:
 
 
 On Mon, 30 Jul 2007, Alexey Dobriyan wrote: 
   
  Cross-compile tested without regressions on my two usual configs and
 (sigh): 
   
  alpha  arm-mx1adsmips-bigsur
 powerpc-ebony 
 ..
 
 Heh. 
 
 Kudos for going above and beyond.
 
 But where is blackfin and frv?
 
 Thanks,
 
 Linus 

Hi Alexey,

Can I do something to help this regression testing?

Please feel free to ask me.

Thanks a lot
Best Regards,
- Bryan Wu
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/