- 16 Apr, 2004 3 commits
-
-
Russell King authored
-
Russell King authored
-
Russell King authored
Many binutils versions over the last year appear to silently build assembler files with undefined constants, and able to successfully create executables from such files. The assembler appears to add undefined symbols to the symbol table without any corresponding relocation information. Obviously this is bad news since the resulting executable may not be what the programmer intended. Work around the problem by forcing the linker to fail if there are any undefined symbols in the final object(s).
-
- 15 Apr, 2004 15 commits
-
-
Geert Uytterhoeven authored
Jeff Garzik notes that the previous cleanup highlights a bug: > > static const struct card_info { > zorro_id id; > const char *name; > unsigned int offset; > } cards[] __initdata = { > > and the lone user is __devinit: > > static int __devinit zorro8390_init_one(struct zorro_dev *z, > const struct zorro_device_id *ent) Here's the fix..
-
James Bottomley authored
The author apparently didn't understand that only the mach-default include directory is included by fallback for header files only. You can't stick a .c file in mach-default and expect all subarchs to be able to use it. The correct fix is to put std_resources.c in the kernel directory and give it its own Kconfig symbol for conditional compile so that subarchs may choose to include it or not.
-
Michal Schmidt authored
The last copy_from_user patch to the vicam driver broke compilation with VICAM_DEBUG on. There is also another copy_from_user missing in case VIDIOCSPICT. This fixes both issues.
-
bk://linuxusb.bkbits.net/pci-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
James Bottomley authored
There's a bug in the x86 code in that it sets the boot CPU to zero. This isn't correct since some subarch's use physically indexed CPUs. However, subarchs have either set the boot cpu before irq_INIT() (or just inherited the default zero from INIT_THREAD_INFO()), so it's safe to believe current_thread_info()->cpu about the boot cpu.
-
Greg Kroah-Hartman authored
-
Benjamin Herrenschmidt authored
This adds IOMMU support & IOMU virtual merging to the default g5 config. This will not impair performances of machines that don't need the iommu (the kernel will only enable it if you have more than 2Gb of RAM, though you can explicitely enable it using a command line argument).
-
Benjamin Herrenschmidt authored
The current code has a subtle race where 2 hash PTEs can be inserted for the same virtual address for a short period of time. There should not be a stale one as the "old" one ultimately gets flushed, but the architecture specifies that having two hash PTE is illegal and can result in undefined behaviour. This patch fixes it by never clearing the _PAGE_HASHPTE bit when doing test_and_clear_{young,dirty}. That means that subsequent faults on those pages will have a bit more overhead to "discover" that the hash entry was indeed evicted. It also adds a small optisation to avoid doing the atomic operation and the hash flush in test_and_clear_dirty when the page isn't dirty or when setting write protect while it's already set.
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> The new message queue interface needs the following patch to get it working on s390 (31-bit, 64-bit and 31-bit compat).
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> This patch adds the TIF_SYSCALL_AUDIT option to the s390 ptrace interface.
-
Andrew Morton authored
From: Andi Kleen <ak@suse.de> Add POSIX mqueue support to x86-64.
-
Andrew Morton authored
From: Jan Kara <jack@ucw.cz> Journalled quota support for ext3: The patch consists of two parts - ext3 changes and changes in generic quota code. The main idea of the changes is that a transaction is always started before any operation which changes quota file and dirtifying of the quota causes its write to disk. These two changes assure that quota change is journalled into the same transaction as the file change and hence after journal replay quota is consistent with the filesystem state. As during journal replay inodes from orphan list are deleted/truncated we have to do quota_on before the replay of the orphan list - this problem is solved by additional mount options to ext3 with quota file names and format. Some changes in generic code were also needed to assure that quota structure in file is always allocated and so ordinary quota operations (like adding/deleting a block/inode) need only a few blocks from the transaction.
-
Andrew Morton authored
From: Chris Wright <chrisw@osdl.org> SUSv3 doesn't seem to specify one way or the other. I don't have the POSIX specs, and the old docs I have suggest that mq_open() creates an object which is to be closed upon exec. Jakub said: I think it is valid and required: http://www.opengroup.org/onlinepubs/007904975/functions/exec.html All open message queue descriptors in the calling process shall be closed, as described in mq_close() I'll add a new test for this into glibc testsuite.
-
Andrew Morton authored
Fix various bogons and outright lies.
-
Andrew Morton authored
From: Jakub Jelinek <jakub@redhat.com> mq_notify (q, NULL) and struct sigevent ev = { .sigev_notify = SIGEV_NONE }; mq_notify (q, &ev) are not the same thing in POSIX, yet the kernel treats them the same. Only the former makes the notification available to other processes immediately, see http://www.opengroup.org/onlinepubs/007904975/functions/mq_notify.html Without the patch below, http://sources.redhat.com/ml/libc-hacker/2004-04/msg00028.html glibc test fails. I looked at mq in Solaris and they behave the same in this regard as Linux with this patch. Kernel with this patch passes both Intel POSIX testsuite (with testsuite fixes from Ulrich) and glibc mq testsuite.
-
- 14 Apr, 2004 22 commits
-
-
Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Linus Torvalds authored
-
Jeff Garzik authored
into redhat.com:/spare/repo/net-drivers-2.6
-
bk://linuxusb.bkbits.net/i2c-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://linuxusb.bkbits.net/usb-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://bk.arm.linux.org.uk/linux-2.6-serialLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Deepak Saxena authored
Patch from Deepak Saxena Supersedes 1809/1
-
Russell King authored
This adds support for the AMBA PL011 UART primecell, and moves the existing AMBA UART support to indicate it covers the AMBA PL010 primecell.
-
Daniel Ritz authored
Some TI cardbus bridges found in notebooks and PCI add-on cards are uninitialized. This means the interrupt mode and the interrupt routing is wrong in most cases, ending up in non working PCI interrupts. This makes the TI Yenta driver probe the PCI interrupt and adjust the interrupt setting if no interrupts are delivered. It's done in a safe way, that doesn't hurt working setups. Function 1 on two slot devices is handled differently from function 0 since both share the settings.
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Russell King authored
-
Russell King authored
-
Russell King authored
-
Deepak Saxena authored
Patch from Deepak Saxena
-
Marc-Christian Petersen authored
Okay, now while we are at fixing security holes, is there any chance we can _finally_ get the attached patch in? The Vicam USB driver in all Linux Kernels 2.6 mainline does not use the copy_from_user function when copying data from userspace to kernel space, which crosses security boundaries and allows local users to cause a denial of service. Already ACKed by Greg. Only complaint was inproper coding style which is done with attached patch ;) ciao, Marc
-
Sam Ravnborg authored
The directory .tmp_versions/ was deleted during make vmlinux. This eliminated the list of modules used for moudles_install. The effect was that the following scenario failed: make make install make modules_install The solution is to only cleanup .tmp_versions when building modules.
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/i2c-2.6
-
Jean Delvare authored
This one line patch fixes voltage rounding in the asb100 chip driver. It's very similar to a patch I submitted for the lm80 a few days ago.
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/usb-2.6
-
Jaroslav Kysela authored
Corrects isapnp_read_resources so that it gets MEM32 information properly.
-
Adam Belay authored
This patch prevents /proc/bus/pnp/devices from requesting on-boot node information. Dynamic information is used instead.
-
Adam Belay authored
The ASUS p4p800 motherboard's BIOS has a broken PnPBIOS implementation. This patch will disable PnPBIOS support if this hardware is detected by DMI.
-