
From: Adrian Bunk <bunk@stusta.de>,
      Jesper Juhl

make mandocs fails with these errors in 2.6.10-bk2 : 

juhl@dragon:~/download/kernel/linux-2.6.10-bk2$ make mandocs
  DOCPROC Documentation/DocBook/kernel-api.sgml
docproc: /home/juhl/download/kernel/linux-2.6.10-bk2/drivers/net/net_init.c: No such file or directory
/bin/sh: line 1:  4845 Segmentation fault      
SRCTREE=/home/juhl/download/kernel/linux-2.6.10-bk2/ scripts/basic/docproc doc Documentation/DocBook/kernel-api.tmpl >Documentation/DocBook/kernel-api.sgml
make[1]: *** [Documentation/DocBook/kernel-api.sgml] Error 139
make: *** [mandocs] Error 2

removing the reference to net_init.c makes it continue a bit further but 
it still ends up failing with these errors : 

make[1]: *** [Documentation/DocBook/kernel-api.sgml] Error 1
make: *** [mandocs] Error 2

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/Documentation/DocBook/kernel-api.tmpl |    1 -
 1 files changed, 1 deletion(-)

diff -puN Documentation/DocBook/kernel-api.tmpl~kernel-apisgml-references-removed-file-net_initc Documentation/DocBook/kernel-api.tmpl
--- 25/Documentation/DocBook/kernel-api.tmpl~kernel-apisgml-references-removed-file-net_initc	Mon Jan 24 14:56:50 2005
+++ 25-akpm/Documentation/DocBook/kernel-api.tmpl	Mon Jan 24 14:56:50 2005
@@ -152,7 +152,6 @@ KAO -->
   <chapter id="netdev">
      <title>Network device support</title>
      <sect1><title>Driver Support</title>
-!Edrivers/net/net_init.c
 !Enet/core/dev.c
      </sect1>
      <sect1><title>8390 Based Network Cards</title>
_
