Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118102
b: refs/heads/master
c: bb20698
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Oct 29, 2008
1 parent 280d6e7 commit 4b604cb
Show file tree
Hide file tree
Showing 113 changed files with 633 additions and 1,116 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 52e8e19b019ca7ad6951d7a39b78d24b198238bc
refs/heads/master: bb20698d46bac1b2b48cfe1fcb33e54ac885946a
4 changes: 2 additions & 2 deletions trunk/Documentation/DocBook/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ quiet_cmd_db2ps = PS $@
%.ps : %.xml
$(call cmd,db2ps)

quiet_cmd_db2pdf = PDF $@
quiet_cmd_db2pdf = PDF $@
cmd_db2pdf = $(subst TYPE,pdf, $($(PDF_METHOD)template))
%.pdf : %.xml
$(call cmd,db2pdf)
Expand All @@ -148,7 +148,7 @@ build_main_index = rm -rf $(main_idx) && \
echo '<h2>Kernel Version: $(KERNELVERSION)</h2>' >> $(main_idx) && \
cat $(HTML) >> $(main_idx)

quiet_cmd_db2html = HTML $@
quiet_cmd_db2html = HTML $@
cmd_db2html = xmlto xhtml $(XMLTOFLAGS) -o $(patsubst %.html,%,$@) $< && \
echo '<a HREF="$(patsubst %.html,%,$(notdir $@))/index.html"> \
$(patsubst %.html,%,$(notdir $@))</a><p>' > $@
Expand Down
2 changes: 1 addition & 1 deletion trunk/Documentation/DocBook/deviceiobook.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<surname>Cox</surname>
<affiliation>
<address>
<email>alan@lxorguk.ukuu.org.uk</email>
<email>alan@redhat.com</email>
</address>
</affiliation>
</author>
Expand Down
2 changes: 1 addition & 1 deletion trunk/Documentation/DocBook/mcabook.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<surname>Cox</surname>
<affiliation>
<address>
<email>alan@lxorguk.ukuu.org.uk</email>
<email>alan@redhat.com</email>
</address>
</affiliation>
</author>
Expand Down
2 changes: 1 addition & 1 deletion trunk/Documentation/DocBook/wanbook.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<surname>Cox</surname>
<affiliation>
<address>
<email>alan@lxorguk.ukuu.org.uk</email>
<email>alan@redhat.com</email>
</address>
</affiliation>
</author>
Expand Down
2 changes: 1 addition & 1 deletion trunk/Documentation/DocBook/z8530book.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<surname>Cox</surname>
<affiliation>
<address>
<email>alan@lxorguk.ukuu.org.uk</email>
<email>alan@redhat.com</email>
</address>
</affiliation>
</author>
Expand Down
2 changes: 1 addition & 1 deletion trunk/Documentation/ManagementStyle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ companies. If you sign purchase orders or you have any clue about the
budget of your group, you're almost certainly not a kernel manager.
These suggestions may or may not apply to you.

First off, I'd suggest buying "Seven Habits of Highly Effective
First off, I'd suggest buying "Seven Habits of Highly Successful
People", and NOT read it. Burn it, it's a great symbolic gesture.

(*) This document does so not so much by answering the question, but by
Expand Down
1 change: 0 additions & 1 deletion trunk/Documentation/accounting/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion trunk/Documentation/auxdisplay/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion trunk/Documentation/connector/.gitignore

This file was deleted.

12 changes: 5 additions & 7 deletions trunk/Documentation/filesystems/Locking
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,8 @@ prototypes:
int (*set_page_dirty)(struct page *page);
int (*readpages)(struct file *filp, struct address_space *mapping,
struct list_head *pages, unsigned nr_pages);
int (*write_begin)(struct file *, struct address_space *mapping,
loff_t pos, unsigned len, unsigned flags,
struct page **pagep, void **fsdata);
int (*write_end)(struct file *, struct address_space *mapping,
loff_t pos, unsigned len, unsigned copied,
struct page *page, void *fsdata);
int (*prepare_write)(struct file *, struct page *, unsigned, unsigned);
int (*commit_write)(struct file *, struct page *, unsigned, unsigned);
sector_t (*bmap)(struct address_space *, sector_t);
int (*invalidatepage) (struct page *, unsigned long);
int (*releasepage) (struct page *, int);
Expand All @@ -184,6 +180,8 @@ sync_page: no maybe
writepages: no
set_page_dirty no no
readpages: no
prepare_write: no yes yes
commit_write: no yes yes
write_begin: no locks the page yes
write_end: no yes, unlocks yes
perform_write: no n/a yes
Expand All @@ -193,7 +191,7 @@ releasepage: no yes
direct_IO: no
launder_page: no yes

->write_begin(), ->write_end(), ->sync_page() and ->readpage()
->prepare_write(), ->commit_write(), ->sync_page() and ->readpage()
may be called from the request handler (/dev/loop).

->readpage() unlocks the page, either synchronously or via I/O
Expand Down
39 changes: 34 additions & 5 deletions trunk/Documentation/filesystems/vfs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ written-back to storage typically in whole pages, however the
address_space has finer control of write sizes.

The read process essentially only requires 'readpage'. The write
process is more complicated and uses write_begin/write_end or
process is more complicated and uses prepare_write/commit_write or
set_page_dirty to write data into the address_space, and writepage,
sync_page, and writepages to writeback data to storage.

Expand Down Expand Up @@ -521,6 +521,8 @@ struct address_space_operations {
int (*set_page_dirty)(struct page *page);
int (*readpages)(struct file *filp, struct address_space *mapping,
struct list_head *pages, unsigned nr_pages);
int (*prepare_write)(struct file *, struct page *, unsigned, unsigned);
int (*commit_write)(struct file *, struct page *, unsigned, unsigned);
int (*write_begin)(struct file *, struct address_space *mapping,
loff_t pos, unsigned len, unsigned flags,
struct page **pagep, void **fsdata);
Expand Down Expand Up @@ -596,7 +598,37 @@ struct address_space_operations {
readpages is only used for read-ahead, so read errors are
ignored. If anything goes wrong, feel free to give up.

write_begin:
prepare_write: called by the generic write path in VM to set up a write
request for a page. This indicates to the address space that
the given range of bytes is about to be written. The
address_space should check that the write will be able to
complete, by allocating space if necessary and doing any other
internal housekeeping. If the write will update parts of
any basic-blocks on storage, then those blocks should be
pre-read (if they haven't been read already) so that the
updated blocks can be written out properly.
The page will be locked.

Note: the page _must not_ be marked uptodate in this function
(or anywhere else) unless it actually is uptodate right now. As
soon as a page is marked uptodate, it is possible for a concurrent
read(2) to copy it to userspace.

commit_write: If prepare_write succeeds, new data will be copied
into the page and then commit_write will be called. It will
typically update the size of the file (if appropriate) and
mark the inode as dirty, and do any other related housekeeping
operations. It should avoid returning an error if possible -
errors should have been handled by prepare_write.

write_begin: This is intended as a replacement for prepare_write. The
key differences being that:
- it returns a locked page (in *pagep) rather than being
given a pre locked page;
- it must be able to cope with short writes (where the
length passed to write_begin is greater than the number
of bytes copied into the page).

Called by the generic buffered write code to ask the filesystem to
prepare to write len bytes at the given offset in the file. The
address_space should check that the write will be able to complete,
Expand All @@ -608,9 +640,6 @@ struct address_space_operations {
The filesystem must return the locked pagecache page for the specified
offset, in *pagep, for the caller to write into.

It must be able to cope with short writes (where the length passed to
write_begin is greater than the number of bytes copied into the page).

flags is a field for AOP_FLAG_xxx flags, described in
include/linux/fs.h.

Expand Down
1 change: 0 additions & 1 deletion trunk/Documentation/ia64/.gitignore

This file was deleted.

2 changes: 1 addition & 1 deletion trunk/Documentation/isdn/CREDITS
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ I want to thank all who contributed to this project and especially to:
Thomas Bogendörfer (tsbogend@bigbug.franken.de)
Tester, lots of bugfixes and hints.

Alan Cox (alan@lxorguk.ukuu.org.uk)
Alan Cox (alan@redhat.com)
For help getting into standard-kernel.

Henner Eisen (eis@baty.hanse.de)
Expand Down
1 change: 0 additions & 1 deletion trunk/Documentation/networking/.gitignore

This file was deleted.

2 changes: 1 addition & 1 deletion trunk/Documentation/networking/dmfe.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ Tobias Ringstrom <tori@unhappy.mine.nu> : Current Maintainer
Contributors:

Marcelo Tosatti <marcelo@conectiva.com.br>
Alan Cox <alan@lxorguk.ukuu.org.uk>
Alan Cox <alan@redhat.com>
Jeff Garzik <jgarzik@pobox.com>
Vojtech Pavlik <vojtech@suse.cz>
1 change: 0 additions & 1 deletion trunk/Documentation/pcmcia/.gitignore

This file was deleted.

2 changes: 1 addition & 1 deletion trunk/Documentation/scsi/aacraid.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Supported Cards/Chipsets

People
-------------------------
Alan Cox <alan@lxorguk.ukuu.org.uk>
Alan Cox <alan@redhat.com>
Christoph Hellwig <hch@infradead.org> (updates for new-style PCI probing and SCSI host registration,
small cleanups/fixes)
Matt Domsch <matt_domsch@dell.com> (revision ioctl, adapter messages)
Expand Down
2 changes: 0 additions & 2 deletions trunk/Documentation/spi/.gitignore

This file was deleted.

24 changes: 17 additions & 7 deletions trunk/Documentation/sysctl/kernel.txt
Original file line number Diff line number Diff line change
Expand Up @@ -363,11 +363,21 @@ tainted:
Non-zero if the kernel has been tainted. Numeric values, which
can be ORed together:

1 - A module with a non-GPL license has been loaded, this
includes modules with no license.
Set by modutils >= 2.4.9 and module-init-tools.
2 - A module was force loaded by insmod -f.
Set by modutils >= 2.4.9 and module-init-tools.
4 - Unsafe SMP processors: SMP with CPUs not designed for SMP.
64 - A module from drivers/staging was loaded.
1 - A module with a non-GPL license has been loaded, this
includes modules with no license.
Set by modutils >= 2.4.9 and module-init-tools.
2 - A module was force loaded by insmod -f.
Set by modutils >= 2.4.9 and module-init-tools.
4 - Unsafe SMP processors: SMP with CPUs not designed for SMP.
8 - A module was forcibly unloaded from the system by rmmod -f.
16 - A hardware machine check error occurred on the system.
32 - A bad page was discovered on the system.
64 - The user has asked that the system be marked "tainted". This
could be because they are running software that directly modifies
the hardware, or for other reasons.
128 - The system has died.
256 - The ACPI DSDT has been overridden with one supplied by the user
instead of using the one provided by the hardware.
512 - A kernel warning has occurred.
1024 - A module from drivers/staging was loaded.

1 change: 0 additions & 1 deletion trunk/Documentation/video4linux/.gitignore

This file was deleted.

2 changes: 1 addition & 1 deletion trunk/Documentation/video4linux/bttv/CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors to bttv:
Michael Chu <mmchu@pobox.com>
AverMedia fix and more flexible card recognition

Alan Cox <alan@lxorguk.ukuu.org.uk>
Alan Cox <alan@redhat.com>
Video4Linux interface and 2.1.x kernel adaptation

Chris Kleitsch
Expand Down
1 change: 0 additions & 1 deletion trunk/Documentation/vm/.gitignore

This file was deleted.

2 changes: 0 additions & 2 deletions trunk/Documentation/watchdog/src/.gitignore

This file was deleted.

10 changes: 0 additions & 10 deletions trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -2701,16 +2701,6 @@ M: matthew@wil.cx
L: linux-scsi@vger.kernel.org
S: Maintained

LTP (Linux Test Project)
P: Subrata Modak
M: subrata@linux.vnet.ibm.com
P: Mike Frysinger
M: vapier@gentoo.org
L: ltp-list@lists.sourceforge.net (subscribers-only)
W: http://ltp.sourceforge.net/
T: git kernel.org/pub/scm/linux/kernel/git/galak/ltp.git
S: Maintained

M32R ARCHITECTURE
P: Hirokazu Takata
M: takata@linux-m32r.org
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/x86/boot/compressed/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
relocs
vmlinux.bin.all
vmlinux.relocs
2 changes: 0 additions & 2 deletions trunk/drivers/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ source "drivers/ssb/Kconfig"

source "drivers/mfd/Kconfig"

source "drivers/regulator/Kconfig"

source "drivers/media/Kconfig"

source "drivers/video/Kconfig"
Expand Down
5 changes: 3 additions & 2 deletions trunk/drivers/block/loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
* Heinz Mauelshagen <mge@sistina.com>, Feb 2002
*
* Support for falling back on the write file operation when the address space
* operations write_begin is not available on the backing filesystem.
* operations prepare_write and/or commit_write are not available on the
* backing filesystem.
* Anton Altaparmakov, 16 Feb 2005
*
* Still To Fix:
Expand Down Expand Up @@ -764,7 +765,7 @@ static int loop_set_fd(struct loop_device *lo, fmode_t mode,
*/
if (!file->f_op->splice_read)
goto out_putf;
if (aops->write_begin)
if (aops->prepare_write || aops->write_begin)
lo_flags |= LO_FLAGS_USE_AOPS;
if (!(lo_flags & LO_FLAGS_USE_AOPS) && !file->f_op->write)
lo_flags |= LO_FLAGS_READ_ONLY;
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/char/ipmi/ipmi_devintf.c
Original file line number Diff line number Diff line change
Expand Up @@ -957,4 +957,3 @@ module_exit(cleanup_ipmi);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Corey Minyard <minyard@mvista.com>");
MODULE_DESCRIPTION("Linux device interface for the IPMI message handler.");
MODULE_ALIAS("platform:ipmi_si");
7 changes: 0 additions & 7 deletions trunk/drivers/edac/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,6 @@ config EDAC_I3000
Support for error detection and correction on the Intel
3000 and 3010 server chipsets.

config EDAC_X38
tristate "Intel X38"
depends on EDAC_MM_EDAC && PCI && X86
help
Support for error detection and correction on the Intel
X38 server chipsets.

config EDAC_I82860
tristate "Intel 82860"
depends on EDAC_MM_EDAC && PCI && X86_32
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/edac/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ obj-$(CONFIG_EDAC_I82443BXGX) += i82443bxgx_edac.o
obj-$(CONFIG_EDAC_I82875P) += i82875p_edac.o
obj-$(CONFIG_EDAC_I82975X) += i82975x_edac.o
obj-$(CONFIG_EDAC_I3000) += i3000_edac.o
obj-$(CONFIG_EDAC_X38) += x38_edac.o
obj-$(CONFIG_EDAC_I82860) += i82860_edac.o
obj-$(CONFIG_EDAC_R82600) += r82600_edac.o
obj-$(CONFIG_EDAC_PASEMI) += pasemi_edac.o
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/edac/cell_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
*/
#undef DEBUG

#include <linux/edac.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/platform_device.h>
Expand Down Expand Up @@ -165,8 +164,6 @@ static int __devinit cell_edac_probe(struct platform_device *pdev)
if (regs == NULL)
return -ENODEV;

edac_op_state = EDAC_OPSTATE_POLL;

/* Get channel population */
reg = in_be64(&regs->mic_mnt_cfg);
dev_dbg(&pdev->dev, "MIC_MNT_CFG = 0x%016lx\n", reg);
Expand Down
Loading

0 comments on commit 4b604cb

Please sign in to comment.