- 17 Feb, 2004 11 commits
-
-
David Mosberger authored
Disable the RADEON_PARAM_SAREA_HANDLE ioctl on 64-bit architectures, since it is only used on some embedded platforms, and it isn't 64-bit safe.
-
Linus Torvalds authored
drivers that need it. This allows us to have I2C as a module iff the FB driver that needs it is a module.
-
Roman Zippel authored
This allows us to do something like config FB_RADEON select I2C_ALGOBIT if FB_RADEON_I2C where FB_RADEON_I2C itself depends on FB_RADEON without getting a bogus warning about recursive dependencies. This matters because the select takes the default minimum dependancy from the parent menu, so we want to do this under FB_RADEON rather than under FB_RADEON_I2C (so that the I2C_ALGOBIT config depends properly on the state of FB_RADEON)
-
Alexander Viro authored
We used to have sync_blockdev() on each normal (== non-raw) blkdev_put() + kill_bdev() on the final blkdev_put(). That worked fine until we'd moved sync_blockdev() to the final blkdev_put(). Now we have a nasty scenario: open block device open raw device write on block device # data ends up in cache close block device # no sync here, we still have the sucker opened close raw device # no sync here either # ... and cache is killed by kill_bdev() IOW, if we postpone sync to final close, we must do it regardless of kind of close. Otherwise we are in for data corruption and yes, it is easy to trigger. Fix is obvious...
-
Andrew Morton authored
kunmap_atomic() takes a kernel-virtual address, not a pageframe address. (Very common problem. We really should make the atomic kmap functions type-safe).
-
bk://kernel.bkbits.net/davem/nf-2.6Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Jim Paradis authored
There's a fencepost error in the GART IOMMU handling on x86_64 in the unmap path. When testing to see if the bus address is within the IOMMU window and needs to be unmapped, the start of the first page *beyond* the window also passes the test. This can cause the first doubleword of the next page beyond the gatt table to be smashed to zero, with unpredictable results depending on what that page is used for.
-
David S. Miller authored
into nuts.davemloft.net:/disk1/BK/nf-2.6
-
David Mosberger authored
The attached trivial patch should fix the "i1-dig" build failure reported on this page: http://www.gelato.unsw.edu.au/kerncomp/ and should make it easier to build a properly configured ia64 kernel.
-
Andrew Morton authored
This is a cleaned-up version of a mremap() fix for "move_one_page()" by Rajesh Venkatasubramanian <vrajesh@umich.edu>. We could use a NULL "src" pointer. Because while we do hold the MM semaphore over the whole sequence, the destination page table allocation will possibly drop the page table spinlock. That in turn can cause a clean source page to be stolen by page reclaim, causing the source-side "get_one_pte_map_nested()" to return NULL the second time around even if it didn't on the first case. So we just check "src" again, and get rid of the bogus TLB invalidate while we're at it.
-
bk://kernel.bkbits.net/davem/sparc-2.6Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
- 16 Feb, 2004 29 commits
-
-
Bartlomiej Zolnierkiewicz authored
My "__ide_dma_off()" cleanup uncovered some code that shouldn't be compiled when CONFIG_BLK_DEV_IDEDMA=n. Fix it and kill a warning in setup-pci.c. Noticed by Martin Diehl <lists@mdiehl.de>.
-
Hideaki Yoshifuji authored
Bug discovered by Olaf Kirch.
-
David S. Miller authored
-
bk://bk.phunnypharm.org/sparc-2.6David S. Miller authored
into nuts.davemloft.net:/disk1/BK/sparc-2.6
-
Ben Collins authored
-
-
David S. Miller authored
-
David S. Miller authored
-
James Simmons authored
The platinum framebuffer is repeated twice. Removed one of them.
-
Linus Torvalds authored
-
Benjamin Herrenschmidt authored
There's an incorrect redefinition extern/static in prep_pci. Just remove it.
-
Andrew Morton authored
From: Tom Rini <trini@kernel.crashing.org> Hello. The following patch is all that is required to get current 2.6 to compile and work on MPC82xx platforms.
-
Andrew Morton authored
From: Tom Rini <trini@kernel.crashing.org> Replace MSR_, which is gone now, with the value it used to be. Required to get the MPC82xx platforms compiling again.
-
Benjamin Herrenschmidt authored
This fixes the build of "allyesconfig", old and new radeonfb's would collide on some symbols.
-
Linus Torvalds authored
It results in serial console getting initialised really late and the suggested workaround is broken according to Keith. Cset exclude: akpm@osdl.org|ChangeSet|20040213234712|28554
-
Benjamin Herrenschmidt authored
The rtasd kernel thread would exit before daemoniz'ing itself if RTAS wasn't present (or if allocation of the buffer failed), thus leaving a zombie. This patch fixes it (and remove #if 0'ed code)
-
Bartlomiej Zolnierkiewicz authored
Move ide-dma.c:__ide_dma_off() outside of #ifdef CONFIG_BLK_DEV_IDEDMA_PCI, so it can be used for all DMA capable hosts. Remove ide_hwif_t->ide_dma_off.
-
Bartlomiej Zolnierkiewicz authored
->ide_dma_count() was introduced in kernel 2.5.35 and was meant to add support for host FIFO counters (for VDMA), but is only a wrapper for ->ide_dma_begin() (even for siimage.c b/c SIIMAGE_VIRTUAL_DMAPIO is undefined). Moreover it should be possible to add VDMA code directly to ->ide_dma_begin().
-
Bartlomiej Zolnierkiewicz authored
Use __ide_dma_{good,bad}_drive() directly and remove these wrappers.
-
Bartlomiej Zolnierkiewicz authored
I see only pros of removing OnStream support: - SCSI osst.c driver is actively maintained by Willem Riede <wrlk@riede.org> - there is no functionality loss (OnStream IDE drives don't support DSC) - ide-tape.c driver is too ugly & complicated even without OnStream support - long term benefits (2.7.x plans on unifying storage drivers)
-
Bartlomiej Zolnierkiewicz authored
From: Willem Riede <wrlk@riede.org>
-
Bartlomiej Zolnierkiewicz authored
From: Glenn Wurster <gwurster@scs.carleton.ca>
-
Linus Torvalds authored
-
Benjamin Herrenschmidt authored
This fixes a small merge error in aty128fb resulting in a compile failure.
-
Andrew Morton authored
From: James Morris <jmorris@redhat.com> The patch below fixes an error handling flaw, where we need to return a Netfilter verdict from the function rather than a standard error code.
-
Andrew Morton authored
From: James Morris <jmorris@redhat.com> The avc_init function is only called during kernel init, so it can be marked with __init.
-
Andrew Morton authored
From: Stephen Smalley <sds@epoch.ncsc.mil> This patch changes the mode bits on the selinuxfs enforce node so that non-root processes can read it. This is necessary to allow non-root userspace policy enforcers to check the enforcing flag upon a permission failure as well. A process must still have the appropriate SELinux permission in order to read the node.
-
Andrew Morton authored
From: James Morris <jmorris@redhat.com> devfs is passing an empty string to do_mount when it expects a page.
-
Andrew Morton authored
From: James Morris <jmorris@redhat.com> This patch implements context mount support within SELinux. Three new mount options are provided: context=%s Label the entire filesystem with the specified security context during mount and change the labeling behavior to 'mountpoint labeling'. The /proc/self/attr/fscreate attribute will be ignored for file creation on the filesystem, although policy-specified transitions will still work normally. This also sets the aggregate filesystem security context. fscontext=%s Set the label of the aggregate filesystem to the specified security context, so that SELinux policy controls over the filesystem itself may be reinstated. Only works for filesystems without EA labeling support, and is not valid if 'context' has been specified. defcontext=%s Set the default security context for files created in this filesystem to the specified security context (as opposed to the current global default). Only works for filesystems without EA labeling support, and is not valid if 'context' has been specified. To set the context or fscontext options, the security policy must specify appropriate permissions for the filesystem relabelfrom and filesystem relabelto controls. For the defcontext option, the filesystem relablefrom and filesystem assoicate controls are invoked. The security mount options are parsed out and stripped from the normal mount option data so that no normal filesystems need to be aware of them. Filesystems with binary mount option data (e.g. NFS, SMBFS, AFS, Coda) need to be handled as special cases: only NFS is supprted at this stage per the previous patch.
-