Skip to content

Commit a8931ef

Browse files
David WoodhouseDavid Woodhouse
authored andcommitted
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
2 parents 90574d0 + e5a5816 commit a8931ef

File tree

2,978 files changed

+84088
-38183
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,978 files changed

+84088
-38183
lines changed

.gitignore

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
# subdirectories here. Add them in the ".gitignore" file
44
# in that subdirectory instead.
55
#
6+
# NOTE! Please use 'git-ls-files -i --exclude-standard'
7+
# command after changing this file, to see if there are
8+
# any tracked files which get ignored after the change.
9+
#
610
# Normal rules
711
#
812
.*
@@ -18,18 +22,21 @@
1822
*.lst
1923
*.symtypes
2024
*.order
25+
*.elf
26+
*.bin
27+
*.gz
2128

2229
#
2330
# Top-level generic files
2431
#
2532
tags
2633
TAGS
27-
vmlinux*
28-
!vmlinux.lds.S
34+
vmlinux
2935
System.map
3036
Module.markers
3137
Module.symvers
3238
!.gitignore
39+
!.mailmap
3340

3441
#
3542
# Generated include files
@@ -52,8 +59,8 @@ series
5259

5360
# cscope files
5461
cscope.*
62+
ncscope.*
5563

5664
*.orig
57-
*.rej
5865
*~
5966
\#*#

CREDITS

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2611,8 +2611,9 @@ S: Perth, Western Australia
26112611
S: Australia
26122612

26132613
N: Miguel Ojeda Sandonis
2614-
E: maxextreme@gmail.com
2615-
W: http://maxextreme.googlepages.com/
2614+
E: miguel.ojeda.sandonis@gmail.com
2615+
W: http://miguelojeda.es
2616+
W: http://jair.lab.fi.uva.es/~migojed/
26162617
D: Author of the ks0108, cfag12864b and cfag12864bfb auxiliary display drivers.
26172618
D: Maintainer of the auxiliary display drivers tree (drivers/auxdisplay/*)
26182619
S: C/ Mieses 20, 9-B

Documentation/ABI/testing/sysfs-class-bdi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ MAJOR:MINOR
1414
non-block filesystems which provide their own BDI, such as NFS
1515
and FUSE.
1616

17+
MAJOR:MINOR-fuseblk
18+
19+
Value of st_dev on fuseblk filesystems.
20+
1721
default
1822

1923
The default backing dev, used for non-block device backed

Documentation/DocBook/kernel-locking.tmpl

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,31 @@
703703
</sect1>
704704
</chapter>
705705

706+
<chapter id="trylock-functions">
707+
<title>The trylock Functions</title>
708+
<para>
709+
There are functions that try to acquire a lock only once and immediately
710+
return a value telling about success or failure to acquire the lock.
711+
They can be used if you need no access to the data protected with the lock
712+
when some other thread is holding the lock. You should acquire the lock
713+
later if you then need access to the data protected with the lock.
714+
</para>
715+
716+
<para>
717+
<function>spin_trylock()</function> does not spin but returns non-zero if
718+
it acquires the spinlock on the first try or 0 if not. This function can
719+
be used in all contexts like <function>spin_lock</function>: you must have
720+
disabled the contexts that might interrupt you and acquire the spin lock.
721+
</para>
722+
723+
<para>
724+
<function>mutex_trylock()</function> does not suspend your task
725+
but returns non-zero if it could lock the mutex on the first try
726+
or 0 if not. This function cannot be safely used in hardware or software
727+
interrupt contexts despite not sleeping.
728+
</para>
729+
</chapter>
730+
706731
<chapter id="Examples">
707732
<title>Common Examples</title>
708733
<para>

Documentation/DocBook/kgdb.tmpl

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
kgdb is a source level debugger for linux kernel. It is used along
7373
with gdb to debug a linux kernel. The expectation is that gdb can
7474
be used to "break in" to the kernel to inspect memory, variables
75-
and look through a cal stack information similar to what an
75+
and look through call stack information similar to what an
7676
application developer would use gdb for. It is possible to place
7777
breakpoints in kernel code and perform some limited execution
7878
stepping.
@@ -84,17 +84,18 @@
8484
runs an instance of gdb against the vmlinux file which contains
8585
the symbols (not boot image such as bzImage, zImage, uImage...).
8686
In gdb the developer specifies the connection parameters and
87-
connects to kgdb. Depending on which kgdb I/O modules exist in
88-
the kernel for a given architecture, it may be possible to debug
89-
the test machine's kernel with the development machine using a
90-
rs232 or ethernet connection.
87+
connects to kgdb. The type of connection a developer makes with
88+
gdb depends on the availability of kgdb I/O modules compiled as
89+
builtin's or kernel modules in the test machine's kernel.
9190
</para>
9291
</chapter>
9392
<chapter id="CompilingAKernel">
9493
<title>Compiling a kernel</title>
9594
<para>
96-
To enable <symbol>CONFIG_KGDB</symbol>, look under the "Kernel debugging"
97-
and then select "KGDB: kernel debugging with remote gdb".
95+
To enable <symbol>CONFIG_KGDB</symbol> you should first turn on
96+
"Prompt for development and/or incomplete code/drivers"
97+
(CONFIG_EXPERIMENTAL) in "General setup", then under the
98+
"Kernel debugging" select "KGDB: kernel debugging with remote gdb".
9899
</para>
99100
<para>
100101
Next you should choose one of more I/O drivers to interconnect debugging
@@ -221,7 +222,7 @@
221222
</para>
222223
<para>
223224
IMPORTANT NOTE: Using this option with kgdb over the console
224-
(kgdboc) or kgdb over ethernet (kgdboe) is not supported.
225+
(kgdboc) is not supported.
225226
</para>
226227
</sect1>
227228
</chapter>
@@ -247,18 +248,11 @@
247248
(gdb) target remote /dev/ttyS0
248249
</programlisting>
249250
<para>
250-
Example (kgdb to a terminal server):
251+
Example (kgdb to a terminal server on tcp port 2012):
251252
</para>
252253
<programlisting>
253254
% gdb ./vmlinux
254-
(gdb) target remote udp:192.168.2.2:6443
255-
</programlisting>
256-
<para>
257-
Example (kgdb over ethernet):
258-
</para>
259-
<programlisting>
260-
% gdb ./vmlinux
261-
(gdb) target remote udp:192.168.2.2:6443
255+
(gdb) target remote 192.168.2.2:2012
262256
</programlisting>
263257
<para>
264258
Once connected, you can debug a kernel the way you would debug an

Documentation/SubmittingPatches

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,52 @@ Some people also put extra tags at the end. They'll just be ignored for
327327
now, but you can do this to mark internal company procedures or just
328328
point out some special detail about the sign-off.
329329

330+
If you are a subsystem or branch maintainer, sometimes you need to slightly
331+
modify patches you receive in order to merge them, because the code is not
332+
exactly the same in your tree and the submitters'. If you stick strictly to
333+
rule (c), you should ask the submitter to rediff, but this is a totally
334+
counter-productive waste of time and energy. Rule (b) allows you to adjust
335+
the code, but then it is very impolite to change one submitter's code and
336+
make him endorse your bugs. To solve this problem, it is recommended that
337+
you add a line between the last Signed-off-by header and yours, indicating
338+
the nature of your changes. While there is nothing mandatory about this, it
339+
seems like prepending the description with your mail and/or name, all
340+
enclosed in square brackets, is noticeable enough to make it obvious that
341+
you are responsible for last-minute changes. Example :
342+
343+
Signed-off-by: Random J Developer <random@developer.example.org>
344+
[lucky@maintainer.example.org: struct foo moved from foo.c to foo.h]
345+
Signed-off-by: Lucky K Maintainer <lucky@maintainer.example.org>
346+
347+
This practise is particularly helpful if you maintain a stable branch and
348+
want at the same time to credit the author, track changes, merge the fix,
349+
and protect the submitter from complaints. Note that under no circumstances
350+
can you change the author's identity (the From header), as it is the one
351+
which appears in the changelog.
352+
353+
Special note to back-porters: It seems to be a common and useful practise
354+
to insert an indication of the origin of a patch at the top of the commit
355+
message (just after the subject line) to facilitate tracking. For instance,
356+
here's what we see in 2.6-stable :
357+
358+
Date: Tue May 13 19:10:30 2008 +0000
359+
360+
SCSI: libiscsi regression in 2.6.25: fix nop timer handling
361+
362+
commit 4cf1043593db6a337f10e006c23c69e5fc93e722 upstream
363+
364+
And here's what appears in 2.4 :
365+
366+
Date: Tue May 13 22:12:27 2008 +0200
367+
368+
wireless, airo: waitbusy() won't delay
369+
370+
[backport of 2.6 commit b7acbdfbd1f277c1eb23f344f899cfa4cd0bf36a]
371+
372+
Whatever the format, this information provides a valuable help to people
373+
tracking your trees, and to people trying to trouble-shoot bugs in your
374+
tree.
375+
330376

331377
13) When to use Acked-by: and Cc:
332378

Documentation/accounting/taskstats-struct.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ There are three different groups of fields in the struct taskstats:
2424

2525
4) Per-task and per-thread context switch count statistics
2626

27+
5) Time accounting for SMT machines
28+
2729
Future extension should add fields to the end of the taskstats struct, and
2830
should not change the relative position of each field within the struct.
2931

@@ -164,4 +166,8 @@ struct taskstats {
164166
__u64 nvcsw; /* Context voluntary switch counter */
165167
__u64 nivcsw; /* Context involuntary switch counter */
166168

169+
5) Time accounting for SMT machines
170+
__u64 ac_utimescaled; /* utime scaled on frequency etc */
171+
__u64 ac_stimescaled; /* stime scaled on frequency etc */
172+
__u64 cpu_scaled_run_real_total; /* scaled cpu_run_real_total */
167173
}

Documentation/auxdisplay/cfag12864b

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
===================================
44

55
License: GPLv2
6-
Author & Maintainer: Miguel Ojeda Sandonis <maxextreme@gmail.com>
6+
Author & Maintainer: Miguel Ojeda Sandonis
77
Date: 2006-10-27
88

99

@@ -22,7 +22,7 @@ Date: 2006-10-27
2222
1. DRIVER INFORMATION
2323
---------------------
2424

25-
This driver support one cfag12864b display at time.
25+
This driver supports a cfag12864b LCD.
2626

2727

2828
---------------------

Documentation/auxdisplay/cfag12864b-example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Description: cfag12864b LCD userspace example program
55
* License: GPLv2
66
*
7-
* Author: Copyright (C) Miguel Ojeda Sandonis <maxextreme@gmail.com>
7+
* Author: Copyright (C) Miguel Ojeda Sandonis
88
* Date: 2006-10-31
99
*
1010
* This program is free software; you can redistribute it and/or modify

Documentation/auxdisplay/ks0108

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
==========================================
44

55
License: GPLv2
6-
Author & Maintainer: Miguel Ojeda Sandonis <maxextreme@gmail.com>
6+
Author & Maintainer: Miguel Ojeda Sandonis
77
Date: 2006-10-27
88

99

@@ -21,7 +21,7 @@ Date: 2006-10-27
2121
1. DRIVER INFORMATION
2222
---------------------
2323

24-
This driver support the ks0108 LCD controller.
24+
This driver supports the ks0108 LCD controller.
2525

2626

2727
---------------------

0 commit comments

Comments
 (0)