- 13 Jun, 2002 7 commits
-
-
Martin Dalecki authored
- Bunch of cleanups by Bartlomiej (accounts for over a half of the patch): cmd64x.c: - kill SPLIT_BYTE() macro - kill wrappers for cmd64x_config_drive_for_dma() - misc cleanups cy82c693.c: - kill obsolete comments - clean cy82c693_tune_drive() and calc_clk() - misc cleanups hpt34x.c: - kill obsolete comment - kill SPLIT_BYTE() - kill hpt34x_clear_chipset() - simplify hpt34x_tune_drive() hpt366.c: - kill hpt_min_rev() - kill redundant hpt368_tune_chipset() and hpt374_tune_chipset() - fix badlists checking in config_chipset_for_dma() - misc cleanups pdc202xx.c: - clean registers decoding - clean pdc202xx_tune_chipset() - kill pdc202xx_udma_irq_status(), use generic udma_pci_irq_status() - rationalize pdc202xx_reset() - kill UDMA_SPEED_FLAG() and PDC_CLOCK() macros, do it right by defining constants PDC_UDMA and PDC_CLK - kill init_high_16() inline, no need to hide internals - clean pdc202xx_init_chipset() - split ata66_pdc202xx() and pdc202xx_init_chipset() - clean config_chipset_for_dma() - misc cleanups - Fix plug in of CF cards. The previously used sub device driver attach method lookup was entirely hosed. - Enforce indentation style on ide-cs.c. Enable debugging there. (Makes the patch quite big...)
-
Benjamin LaHaise authored
This makes the IO bitmap allocations a separately allocated structure, shrinking the default task size. We alloc it in sys_ioperm() and copy_thread() and frees in exit_thread(). It also gets rid of the IO_BITMAP_SIZE+1 crap, as only the tss actually needs the tail long, and we weren't copying it into the bitmap anyways.
-
Stephen Rothwell authored
The utime and utimes should do exactly the smae permission check according to SUSv3. "The effective user ID of the process shall match the owner of the file, or has write access to the file or appropriate privileges to use this call in this manner." utimes when passed a NULL second argument would fail on a read only file even if the file is owned by the caller.
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Jens Axboe authored
The following comes from James Bottemley, as he updated the SCSI layer to use the generic tagging. Basically just put blk_queue_tag_request() into ll_rw_blk.c and name it something more sane, blk_queue_find_tag(). In addition, remove REQ_CMD requirement in blk_queue_start_tag() -- this is actually IDE specific (we can only tag read/write requests there...), SCSI actually requires everything to be tagged once enabled. It's replaced with a safety check for an already tagged request.
-
Jens Axboe authored
This is a merge of the two things that are needed for the plugging as it stands in 2.5.21. The first is fixing the locking to be both clearer and safe (Andrew repeatedly broke the old version). The second is a few changes that allow make_request_fn drivers to utilize plugging. This is needed for umem and raid, for instance, that have their private plugging.
-
Linus Torvalds authored
-
- 12 Jun, 2002 17 commits
-
-
Andrew Morton authored
Silly oversight - read_pages needs to pass the file * down to ->readpage().
-
Andrew Morton authored
- If we're PF_MEMALLOC and BIO allocation failed, fall back to try to allocate a smaller BIO (from a different mempool) - When writepages() gets confused, call a_ops->writepage() instead of going directly to block_write_full_page(). It gives the fs more flexibility, and XFS may want this.
-
Andrew Morton authored
It will need swapops.h for swp_entry().
-
Andrew Morton authored
Fix the order of inodes being marked dirty in a couple of corner cases. The only impact of this bug is that the on-disk copies of i_version might got out of sync for a directory, or that an error inserting an inode into a directory might leave its i_nlinks incorrect on disk for a short interval. Neither problem will cause trouble for ext3 during normal operation, but the nlink problem might cause e2fsck to emit unnecessary warnings if we crash while the incorrect version of the inode is in the journal.
-
Andrew Morton authored
Removes the put_iode optimisation. It's racy, as Chris pointed out.
-
Andrew Morton authored
ext3 will remount the fs readonly if it runs out of inode space. It shouldn't do that - it should just return -ENOSPC.
-
Linus Torvalds authored
Cset exclude: bcrl@redhat.com|ChangeSet|20020429021546|12619
-
Andy Grover authored
This allows compilation without ACPI_DEBUG defined.
-
Andy Grover authored
This adds an export so that processor.o and thermal.o can be compiled as modules
-
http://linux-isdn.bkbits.net/linux-2.5.makeLinus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Kai Germaschewski authored
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make
-
Kai Germaschewski authored
A couple of targets were still in the main part of the Makefile, even though they did not need .config to exist for execution. Move them into the noconfig section of the Makefile, allowing them to be executed before make *config.
-
http://linux-isdn.bkbits.net/linux-2.5.isdnLinus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Kai Germaschewski authored
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.isdn
-
Kai Germaschewski authored
Unreversed allocations on the error path and the like.
-
Matthew Wilcox authored
- Inline locks_notify_blocked. - Remove a couple of now-bogus comments. - Remove the obsolete F_SHLCK and F_EXLCK cases. - Remove the last remaining reference to FL_BROKEN.
-
Linus Torvalds authored
-
- 11 Jun, 2002 16 commits
-
-
Kai Germaschewski authored
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.isdn
-
Kai Germaschewski authored
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make
-
Kai Germaschewski authored
Contributed by Greg Banks.
-
Kai Germaschewski authored
amd7930_fn.h defined a static array, which however was only used in one of the files which include amd7930_fn.h. So move the array to the file where it is actually referenced. While we're at it, do some more cleanup like removing the #defines for BYTE,WORD and use u16,u8 instead - WORD was even wrongly defined to unsigned int. Also, convert some macros to inlines etc.
-
Kai Germaschewski authored
The eicon header defined macros for byte, word, dword. Apart from that not being a good idea in general, it did clash with the use of a parameter called "word" in asm/signal.h. At some other place in the Eicon headers, there are also typedefs for these types, so the macros can simply go away.
-
Robert Love authored
The always-appreciated Stanford Checker found a memory leak in net/socket.c :: sock_fasync. It was a bit tricky since the memory was only conditionally allocated, so must only conditionally be freed.
-
Peter Chubb authored
This patch fixes the Compaq WL210 problems I've been having. The symptoms were that no interupts were ever received from the card; the BIOS reported it had assigned INTA to IRQ 10; but the yenta driver reported IRQ 17. The fix is not to rely on the BIOS's initialisation of interrupt routing in the TI1410, but to do it explicitly. This may break laptops that actually use the parallel ISA IRQ mechanism.
-
Linus Torvalds authored
on non-x86 architectures)
-
Linus Torvalds authored
in structures and unions (and why not other variables too..)
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Andi Kleen authored
Many old ISA drivers are not 64bit clean. To avoid dealing with them on x86-64 I guarded them with CONFIG_ISA. This is also helpful for other archs (including modern x86) that do not have ISA slots anymore. The patch has been reviewed by Linux-Kernel, with some additional cleanups by me. It misses some directories like ISDN or sound drivers.
-
Andi Kleen authored
This fixes a potential security issue on i386. FXRSTOR raises an #GP when the MXCSR field in the FXSAVE frame contains illegal values. By putting an signal frame just at a border to an unmapped page a malicious user could potentially cause an exception in the context switch using this. When the EFAULT occurs in the last bytes of the signal frame the MXCSR check would be skipped in the old code, but the rogue value would be already in task_struct, causing problems later. Here is the minimal fix for this. Originally discovered by Andrea while doing x86-64 work. It was fixed in a different way a bit more intrusive way on x86-64 - all FXRSTOR in the kernel are guarded by exception handlers.
-
Andi Kleen authored
It's nearly impossible to get the correct CPU names for AMD CPUs in the MP table (would need BIOS calls etc.). The decoding of CPU names form the mptable doesn't look too useful anyways, because the correct CPU name from CPUID is printed only a few lines later. This patch just removes the name table and replaces it with a printout of the hex value. This mirrors a change in x86-64
-
Andi Kleen authored
Remove myself as networking maintainer. I haven't done much for networking for a long time and it doesn't look likely it'll change anytime soon. Also David/Alexey are doing a fine job without me.
-