- 20 Nov, 2002 7 commits
-
-
Petr Vandrovec authored
lcall7 and lcall27 code paths are almost identical, except one constant. This code merges these two paths together, by moving constant to the beginning of function. It is possible to eliminate even more of lcall7 and lcall27 code paths, but at cost of splitting SAVE_ALL into two halves, and I do not want to do that. But if you think that it is worth of effort, I can save 16 more bytes, but at cost of speed. Side effects of merge is that now stack is addressed relative to %ebx instead of relative to %esp, so generated code is shorter and faster.
-
Ivan Kokshaysky authored
- Use PCI_BUS_NUM_RESOURCES instead of hardcoded `4' in pci_find_parent_resource; - clean up pci_claim_resource() and make it a bit more informative on errors; - pdev_sort_resources() must be __devinit, as it's called from pbus_assign_resources_sorted(), which is __devinit now; - fix one remaining dev->name in debugging printk.
-
Ivan Kokshaysky authored
The detection of subtractive decoding bridges is broken: `class' variable doesn't contain ProgIf byte at this point, I should check `dev->class' instead. This fixes resource allocation problems on certain docking stations.
-
Andries E. Brouwer authored
The dev_t argument of sys_mknod is passed to vfs_mknod, and is then cast to int when foo_mknod is called, and is subsequently very often cast back to dev_t. (For example, minix_mknod() calls minix_set_inode() that takes a dev_t.) This is a cleanup that avoids this back-and-forth casting by giving foo_mknod a prototype with dev_t. In most cases now the dev_t is transmitted untouched until init_special_inode. It also makes the two routines hugetlbfs_get_inode() and shmem_get_inode() static.
-
Rusty Russell authored
Fixes miscalculation of required module size due to alignment issues of first section after common, and also doesn't think that no init section is an allocation failure.
-
Rusty Russell authored
Patch from Adam Richter. I have a nicer solution based on aliases, but it requires coordination with USB, PCI and PCMCIA maintainers, which is taking time. This restores the old code in the meantime: one week without this is too long for people who need it.
-
bk://ppc.bkbits.net/for-linus-ppcLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
- 21 Nov, 2002 4 commits
-
-
Paul Mackerras authored
This removes Rules.make inclusions, makes make clean work properly, removes EXTRA_TARGETS where not needed, and fixes a couple of compile warnings in the boot wrappers where <linux/string.h> wasn't included.
-
Paul Mackerras authored
This solves some mutual inclusion problems.
-
Paul Mackerras authored
Now atomic.h defines the smp_mb__* macros completely itself without needing the smp_mb definition from <asm/system.h>
-
Paul Mackerras authored
-
- 20 Nov, 2002 3 commits
-
-
Rusty Russell authored
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Arnaldo Carvalho de Melo authored
Also use strsep in ibmmca.c, as strtok is gone from the kernel.
-
- 19 Nov, 2002 20 commits
-
-
bk://linuxusb.bkbits.net/pci-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
bk://linuxusb.bkbits.net/linus-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Zwane Mwaikambo authored
parse_interface allocates the incorrect storage size for additional altsettings (new buffer) leading to a BUG being triggered in mm/slab.c:1453 when we do the memcpy from the old buffer to the new buffer (writing beyond new buffer). Patch appended, tested with an OV511 on an Intel PIIX4
-
Matthew Wilcox authored
Al pointed out that the current name of get_lease is extremely confusing and I agree. This (a) renames it to break_lease and (b) fixes a bug noticed by Dave Hansen which could cause a NULL pointer dereference under high load.
-
Greg Kroah-Hartman authored
into kroah.com:/home/linux/linux/BK/gregkh-2.5
-
Greg Kroah-Hartman authored
- removed a few #ifdefs in the main code - cleaned up the failure logic in initialization.
-
Greg Kroah-Hartman authored
into kroah.com:/home/linux/linux/BK/pci-2.5
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Chris Wright authored
This removes the code from cap_sysget that fills out the capability set being returned to userspace. The module handles this in a policy specific way. This updates the dummy.c module to fill in return data according to superuser policy, and also disables setting capabilities in superuser policy.
-
Chris Wright authored
-
Petko Manolov authored
-
Linus Torvalds authored
sending routines don't set it up.
-
Linus Torvalds authored
from "write()" is an error condition, and hang retrying. Return EINVAL in sysfs instead.
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
David Woodhouse authored
-
David Woodhouse authored
-
Andries E. Brouwer authored
-
Ben Fennema authored
-
- 18 Nov, 2002 6 commits
-
-
Andries E. Brouwer authored
These security_ops are declared like int (*inode_mknod) (struct inode *dir, struct dentry *dentry, int mode, dev_t dev); with a mode and a dev_t argument. But the users mistakenly had major, minor instead of mode, dev.
-
Art Haas authored
-
Art Haas authored
-
Art Haas authored
-
Art Haas authored
-
Trond Myklebust authored
Given Andi Kleen's patch that introduces of VFS-level support for nanosecond time resolutions, we should finally be able to export the existing NFS client level support to userland. In order to do so, the following patch will convert all NFS private 'raw u64' values into the kernel-supported struct timespec directly in the xdr_encode/xdr_decode routines. It adds support for the nanosecond field in NFS 'setattr' calls, and in nfs_refresh_inode(). Finally, there are a few cleanups in the nfs_refresh_inode code that convert multiple use of the NFS_*(inode) macros into a single dereference of NFS_I(inode).
-