24 Jul, 2007
1 commit
-
Some of the code has been gradually transitioned to using the proper
struct request_queue, but there's lots left. So do a full sweet of
the kernel and get rid of this typedef and replace its uses with
the proper type.Signed-off-by: Jens Axboe
05 Mar, 2007
1 commit
-
Fix soft lockup with iSeries viocd driver, caused by eventually calling
end_that_request_first() with nr_bytes 0.Some versions of hald do an SG_IO ioctl on the viocd device which becomes a
request with hard_nr_sectors and hard_cur_sectors set to zero. Passing zero
as the number of sectors to end_request() (which calls
end_that_request_first()) causes an infinite loop when the bio is being freed.This patch makes sure that the zero is never passed. It only requires some
number larger the the request size the terminate the loop.The lockup is triggered by hald, interrogating the device.
Signed-off-by: Tony Breeds
Signed-off-by: Jens Axboe
Cc: Stephen Rothwell
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
13 Feb, 2007
1 commit
-
Many struct file_operations in the kernel can be "const". Marking them const
moves these to the .rodata section, which avoids false sharing with potential
dirty data. In addition it'll catch accidental writes at compile time to
these shared resources.Signed-off-by: Arjan van de Ven
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
20 Dec, 2006
1 commit
-
Only initialise viocd on legacy iSeries.
Signed-off-by: Stephen Rothwell
Signed-off-by: Paul Mackerras
27 Jun, 2006
2 commits
-
Just removes a few unused #defines and fixes some comments due to
devfs now being gone.Signed-off-by: Greg Kroah-Hartman
-
And remove the now unneeded number field.
Also fixes all drivers that set these fields.Signed-off-by: Greg Kroah-Hartman
19 May, 2006
1 commit
-
Make their device_type entries more generic and their compatible entries
more specific.Signed-off-by: Stephen Rothwell
Signed-off-by: Paul Mackerras
23 Mar, 2006
1 commit
-
Since early 2.4.x all cdrom drivers implement the block_device methods
themselves, so they can handle additional ioctls directly instead of going
through the cdrom layer.Signed-off-by: Christoph Hellwig
Acked-by: Jens Axboe
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
08 Feb, 2006
1 commit
-
A bunch of asm/bug.h includes are both not needed (since it will get
pulled anyway) and bogus (since they are done too early). Removed.Signed-off-by: Al Viro
12 Jan, 2006
1 commit
-
Signed-off-by: Stephen Rothwell
Signed-off-by: Paul Mackerras
02 Nov, 2005
3 commits
-
Signed-off-by: Kelly Daly
-
Signed-off-by: Kelly Daly
-
Signed-off-by: Kelly Daly
24 Oct, 2005
2 commits
-
Signed-off-by: Stephen Rothwell
-
Just set the name field directly in the device_driver structure
contained in the vio_driver struct.Signed-off-by: Stephen Rothwell
30 Aug, 2005
1 commit
-
Make MODULE_DEVICE_TABLE work for vio devices.
Signed-off-by: Stephen Rothwell
Signed-off-by: Paul Mackerras
29 May, 2005
1 commit
-
It appears that another test has been added in the Uniform CDROM layer that
must be passed before a DVD-RAM is considered writeable. This patch
implements an emulation of the needed packet command for the viocd driver.Signed-off-by: Stephen Rothwell
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!