- 25 May, 2003 40 commits
-
-
Greg Ungerer authored
-
Greg Ungerer authored
Add a function to allow checking if the timer interrupt is pending for the m68knommu/5206 CPU. This is used by the architecture timer code for microsecond accurate time calculations.
-
Greg Ungerer authored
Add a function to allow checking if the timer interrupt is pending for the m68knommu/5249 CPU. This is used by the architecture timer code for microsecond accurate time calculations.
-
Greg Ungerer authored
Add a function to allow checking if the timer interrupt is pending for the m68knommu/5206e CPU. This is used by the architecture timer code for microsecond accurate time calculations.
-
Ben Collins authored
Obvious strlcpy conversions in arch/*. In fact, mips and mips64 had an actual bug in sys_sysmips(). Confirmed with Keith Wesolowski.
-
Jens Axboe authored
So here it is, easy split support for md and dm. Neil, the changes over your version are merely: - Make a global bio split pool instead of requring device setup of one. Will waste 8 * sizeof(struct bio_pair) of RAM, but... For 2.6 at least it has to be a core functionality. - Various style changes to follow the kernel guide lines.
-
Greg Ungerer authored
Add a function to allow checking if the timer interrupt is pending for the m68knommu/5407 CPU. This is used by the architecture timer code for microsecond accurate time calculations.
-
Greg Ungerer authored
Add a function to allow checking if the timer interrupt is pending for the m68knommu/5272 CPU. This is used by the architecture timer code for microsecond accurate time calculations.
-
Greg Ungerer authored
Add a function to allow checking if the timer interrupt is pending for the m68knommu/5307 CPU. This is used by the architecture timer code for microsecond accurate time calculations.
-
Greg Ungerer authored
This adds offset calculcation to the m68knommu/ColdFire timers. Allows microsecond accuracy for gettimeofday and friends.
-
Greg Ungerer authored
This patch adds appropriate locking around updates of the xtime structure for the m68knommu ColdFire architecture timers.
-
Greg Ungerer authored
This patch updates the defconfig for the m68knommu architecture.
-
Greg Ungerer authored
This patch does a couple of things to the m68knommu common linker script: - adds support for the 5282 ColdFire CPU - fixes broken setup for the Dragon Engine board
-
Greg Ungerer authored
Add dummy VMALLOC_START and VMALLOC_END defines to m68knommu architectures. Some code in the proc filesystem breaks without them now.
-
Ben Collins authored
-
Andries E. Brouwer authored
(i) The prototypes for free_vfsmnt(), alloc_vfsmnt(), do_kern_mount() so far occurred in several individual c files. Now they are in <linux/mount.h>. (ii) do_kern_mount() has a third argument name that is typically a constant. It is called with "rootfs", "nfsd", type->name, "capifs", "usbdevfs", "binfmt_misc" etc. So, it should have a prototype that expresses this: do_kern_mount(const char *fstype, int flags, const char *name, void *data); This makes the ugly cast - return do_kern_mount(type->name, 0, (char *)type->name, NULL); + return do_kern_mount(type->name, 0, type->name, NULL); go away. Now do_kern_mount() calls type->get_sb(), so also get_sb() must have a const third argument. That is what the patch below does. If I am not mistaken, precisely two filesystems do not treat this argument as a constant, namely afs and cifs. A separate patch gives some cleanup there.
-
Greg Ungerer authored
This fixes some ColdFire 5407 cache bogosity. Previous code was pushing all cache lines and the invalidating all of the cache. The push should be enough, and now with underlying fixes the the cache setup registers it is. Removed the whole invalidate cycle. Original patch cam from Allessandro Rubini.
-
Greg Ungerer authored
Correct the wrong cache setup used on the MOTOROLA 5407 based board. Specifically it enables precise exception mode and write buffering. Original patch from Alessendra Rubini.
-
Greg Ungerer authored
Correct the wrong cache setup used on the CLEOPATRA 5407 based board. Specifically it enables precise exception mode and write buffering. Original patch from Alessendra Rubini.
-
bk://kernel.bkbits.net/jgarzik/net-drivers-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Paul Mackerras authored
This patch takes out the MOD_INC/DEC_USE_COUNT in the airport (Apple wireless ethernet) driver. The driver already does SET_MODULE_OWNER on the netdevice, so the MOD_INC/DEC_USE_COUNT are unnecessary and just cause warnings.
-
Paul Mackerras authored
This patch fixes ppp_synctty.c (used for doing PPP over some synchronous serial HDLC links) so that it sets the owner field of the tty line discipline it exports, rather than using MOD_INC/DEC_USE_COUNT. This is more or less from Stephen Hemminger. Please apply. Thanks, Paul.
-
Scott Feldman authored
* Cleanup ethtool/mii_ioctl sets of speed/duplex/autoneg by stop/set/start driver to ensure sets stick. Must hold xmit_lock around stop/start.
-
Jeff Garzik authored
into redhat.com:/garz/repo/net-drivers-2.5
-
bk://kernel.bkbits.net/jgarzik/irda-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Rusty Russell authored
-
Jeff Garzik authored
into redhat.com:/garz/repo/irda-2.5
-
Benjamin Herrenschmidt authored
This patch fixes the build of drivers/ide/ppc/pmac.c.
-
Paul Mackerras authored
-
Ben Collins authored
While going through sound/ for strncpy replacing, I came across this routine: /* return the (first) queue matching with the specified name */ queue_t *snd_seq_queue_find_name(char *name) { int i; queue_t *q; for (i = 0; i < SNDRV_SEQ_MAX_QUEUES; i++) { if ((q = queueptr(i)) != NULL) { if (strncpy(q->name, name, sizeof(q->name)) == 0) return q; queuefree(q); } } return NULL; } I'm _really_ sure that they meant to use strncmp() here instead. Like this.
-
Greg Ungerer authored
A couple of updates for the non-MMU memory managment code: - declare the overcommit variables - return a real vma pointer from get_user_pages (it is used by some code) - correct args to vmap()
-
Ben Collins authored
Use strlcpy in root_dev_setup()
-
Ben Collins authored
I only converted the cases where it was obvious that the intent was to truncate on overflow. Lots of places for maxpath/readlink type stuff I left alone.
-
Ben Collins authored
This does a lot of cleanup for strncpy->strlcpy, replaces some sprintf/snprintf's aswell. There were only two places where things weren't straight forward. All-in-all a good cleanup though.
-
Ben Collins authored
-
Linus Torvalds authored
-
Manfred Spraul authored
-
Sam Ravnborg authored
Make the default kernel build less verbose, to make warnings show up more clearly.
-
Andries E. Brouwer authored
Yet another one in the namespace.c series. The code in graft_tree() used to be correct, but the code err = -ENOENT; down(&nd->dentry->d_inode->i_sem); if (IS_DEADDIR(nd->dentry->d_inode)) goto out_unlock; spin_lock(&dcache_lock); if (IS_ROOT(nd->dentry) || !d_unhashed(nd->dentry)) { ... } spin_unlock(&dcache_lock); out_unlock: was made incorrect in 2.5.29 when err = security_sb_check_sb(mnt, nd); if (err) goto out_unlock; was inserted. It has happened more often that people overlooked a preexisting setting of err.
-
Andrew Morton authored
Tell the arch that install_page() has just added a page into the pagetables.
-