Re: [patch] kernel-api book fixes

From: Erik Mouw (J.A.K.Mouw@its.tudelft.nl)
Date: Mon Apr 08 2002 - 17:01:28 EST


Aargh, I found out that I created the changeset in my validation tree,
so it doesn't apply cleanly against the linux-2.5 tree :(
Here it is again, this time against the proper tree.

Erik

You can import this changeset into BK by piping this whole message to:
'| bk receive [path to repository]' or apply the patch as usual.

===================================================================

ChangeSet@1.586, 2002-04-08 23:52:33+02:00, erik@arthur.home
  - Fix kernel-api book compile-time bugs due to moved USB source files.
  - Add kernel/context.c, kernel/exit.c, and kernel/timer.c to the list
    of source files and include their information into the kernel-api book.
  - Fix problem with comment not being just before the function in
    kernel/context.c

 Documentation/DocBook/Makefile | 11 +++++++----
 Documentation/DocBook/kernel-api.tmpl | 11 ++++++++---
 kernel/context.c | 5 +++--
 3 files changed, 18 insertions(+), 9 deletions(-)

diff -Nru a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile
--- a/Documentation/DocBook/Makefile Mon Apr 8 23:57:04 2002
+++ b/Documentation/DocBook/Makefile Mon Apr 8 23:57:04 2002
@@ -104,8 +104,8 @@
                 $(TOPDIR)/sound/sound_firmware.c \
                 $(TOPDIR)/drivers/net/wan/syncppp.c \
                 $(TOPDIR)/drivers/net/wan/z85230.c \
- $(TOPDIR)/drivers/usb/hcd.c \
- $(TOPDIR)/drivers/usb/usb.c \
+ $(TOPDIR)/drivers/usb/core/hcd.c \
+ $(TOPDIR)/drivers/usb/core/usb.c \
                 $(TOPDIR)/drivers/video/fbmem.c \
                 $(TOPDIR)/drivers/video/fbcmap.c \
                 $(TOPDIR)/drivers/video/fbcon.c \
@@ -118,13 +118,16 @@
                 $(TOPDIR)/fs/bio.c \
                 $(TOPDIR)/include/asm-i386/bitops.h \
                 $(TOPDIR)/include/linux/usb.h \
- $(TOPDIR)/kernel/pm.c \
- $(TOPDIR)/kernel/ksyms.c \
+ $(TOPDIR)/kernel/context.c \
+ $(TOPDIR)/kernel/exit.c \
                 $(TOPDIR)/kernel/kmod.c \
+ $(TOPDIR)/kernel/ksyms.c \
                 $(TOPDIR)/kernel/module.c \
+ $(TOPDIR)/kernel/pm.c \
                 $(TOPDIR)/kernel/printk.c \
                 $(TOPDIR)/kernel/sched.c \
                 $(TOPDIR)/kernel/sysctl.c \
+ $(TOPDIR)/kernel/timer.c \
                 $(TOPDIR)/lib/string.c \
                 $(TOPDIR)/lib/vsprintf.c \
                 $(TOPDIR)/net/netsyms.c
diff -Nru a/Documentation/DocBook/kernel-api.tmpl b/Documentation/DocBook/kernel-api.tmpl
--- a/Documentation/DocBook/kernel-api.tmpl Mon Apr 8 23:57:04 2002
+++ b/Documentation/DocBook/kernel-api.tmpl Mon Apr 8 23:57:04 2002
@@ -47,7 +47,12 @@
      </sect1>
 
      <sect1><title>Delaying, scheduling, and timer routines</title>
-!Ekernel/sched.c
+!Ekernel/context.c
+!Ekernel/timer.c
+ </sect1>
+
+ <sect1><title>Misc functions</title>
+!Ekernel/exit.c
      </sect1>
   </chapter>
 
@@ -282,7 +287,7 @@
     </sect1>
 
     <sect1><title>USB Core APIs</title>
-!Edrivers/usb/usb.c
+!Edrivers/usb/core/usb.c
     </sect1>
 
     <sect1><title>Host Controller APIs</title>
@@ -290,7 +295,7 @@
     most of which implement standard register interfaces such as
     EHCI, OHCI, or UHCI.
     </para>
-!Edrivers/usb/hcd.c
+!Edrivers/usb/core/hcd.c
     </sect1>
 
   </chapter>
diff -Nru a/kernel/context.c b/kernel/context.c
--- a/kernel/context.c Mon Apr 8 23:57:04 2002
+++ b/kernel/context.c Mon Apr 8 23:57:04 2002
@@ -112,6 +112,9 @@
         }
 }
 
+
+static struct tq_struct dummy_task;
+
 /**
  * flush_scheduled_tasks - ensure that any scheduled tasks have run to completion.
  *
@@ -124,8 +127,6 @@
  * The caller should hold no spinlocks and should hold no semaphores which could
  * cause the scheduled tasks to block.
  */
-static struct tq_struct dummy_task;
-
 void flush_scheduled_tasks(void)
 {
         int count;

===================================================================

This BitKeeper patch contains the following changesets:
1.586
##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N"7$1UJN?],(%.)U)F-Y6\I[&[;>9E+>&P3K#>[WX_R9Q%G2
MJVWS9RM-!2F_%E?[LI7"23<45(HC''FT0R1$>)I"9(,4"F&?_J\I]!\+O<XK
M6UP?@Q_#:7UY56(M+>PV^>4A3;PC???!F\.5.C\?FOD/H+EV7"D2A??`^:P_
M[>ZH7!5B[TLND_D)0NZXT]$'J.GJ@"$)/?/JZ>/-X?I4U681M6;VL<;,IKW-
MCI7,?3$1MBO2EO/E_B2_2[E3Y=58WS7!G@##!/DTI$A7:AH%EN;^!BS7IU[R
M2UA^;-V%,RK='PHES'1PAJ:QF!X+\PJ.&AV3*0.+9\./&D-.3\-V?`ZP,J%H
M978ADTRD;2'2"\7E^-W[.8ZAO#W#+#%^A8N;D_L(8P:I9JDT>:/=54V;**B^
I7\Q::5N6M]:AWX&M":;6S/\^:8^3L6S+7810BE/?!_\"<ZU9\[H-````
`
end

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty
of Information Technology and Systems, Delft University of Technology,
PO BOX 5031, 2600 GA Delft, The Netherlands  Phone: +31-15-2783635
Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Apr 15 2002 - 22:00:11 EST