- 31 Aug, 2003 40 commits
-
-
Andrew Morton authored
The arch ioctl tables are doing this: struct foo ioctl_start[] = { ... }; struct foo ioctl_end[0]; and fs/compat.c expects that the table lies between &ioctl_end and &ioctl_start. Problem is, gcc-3.3 puts ioctl_end into bss, even if it is initialised. It doesn't work. So we do away with the ioctl_end thing and add int ioctl_table_length = ARRAY_SIZE(ioctl_start); to each architecture.
-
Andrew Morton authored
- Remove duplicated implementation of attrib_to_str() - Make mtrr_strings[] static to if.c
-
Andrew Morton authored
From: James Bottomley <James.Bottomley@SteelEye.com> Most is just simple fixes; however, the needless change from atomic to non-atomic operations in smp_invalidate_interrupt() caused me a lot of pain to track down since it introduced some very subtle bugs. I've also taken phys_cpu_present_map out of smp.h. Since it physid_mask_t is defined in mpspec.h anyway, and contains a duplicate definition, I don't believe it can hurt anything.
-
Andrew Morton authored
extern decls in .c files are evil. Put the send_sigio(), fcntl_setlease() and fcntl_getlease() into fs.h.
-
Andrew Morton authored
From: Ulrich Drepper <drepper@redhat.com> I'm not entirely sure about this change. But it seems to be necessary. The dnotify code stores the PID in the file structure. The entire process shares the file and any signal (is it used for that?) should be sent to the process (thread group), not the individual thread. Also keep in mind that threads can go away while the process (and therefore file descriptor) remain. And the ID of the thread can be reused. Somebody who knows this code should take a good look. (Looks right to me...)
-
Andrew Morton authored
From: "Randy.Dunlap" <rddunlap@osdl.org> - use kernel.h min() and max(); - C99 initializers; - Tidy up the scheule_work() callbacks (none of them take an arg)
-
Andrew Morton authored
From: "Randy.Dunlap" <rddunlap@osdl.org> fix arcnet printk parameter types
-
Andrew Morton authored
From: Valdis.Kletnieks@vt.edu, Sam Ravnborg <sam@ravnborg.org> Adds an explicit check for the new modutils in the build system. Generally we should avoid these sorts of hardwired checks for the right versions of things, but we are still getting a significant number of problem reports due to people not having the new tools. Let's help them out.
-
Andrew Morton authored
From: "John Stoffel" <stoffel@lucent.com> Quick patch to get my 8 port Cyclades Cyclom-Y ISA card to work. (It doesn't look to be very SMP-robust, but then the 2.4 dirver probably isn't either).
-
Andrew Morton authored
From: Christoph Hellwig <hch@lst.de> I moved a while ago and I'm also not at SGI anymore.
-
Andrew Morton authored
From: Nick Piggin <piggin@cyberone.com.au> In the anticipatory scheduler, don't anticipate against the very first IO request which a process issues. This solves a very specific problem wherein a process starts, submits a single IO then exits.
-
Andrew Morton authored
From: Dmitry Torokhov <dtor_core@ameritech.net> While working on my GPM patches found out that EV_MSC was forgotten...
-
Andrew Morton authored
From: viro@parcelfarce.linux.theplanet.co.uk On Wed, Aug 27, 2003 at 01:46:37AM -0700, Andrew Morton wrote: > > LILO seems to be oopsing in HDIO_GETGEO ioctl for some reason, in > generic_ide_ioctl(). > > I'm not sure quite why though. Could one of your patches affected this > area? The last one (fix for hd_struct handling). The fix follows:
-
Andrew Morton authored
From: "Randy.Dunlap" <rddunlap@osdl.org> This patch removes warnings on non-matching parameter types to printk and incorrect function types (n_hdlc).
-
Andrew Morton authored
From: Peter Chubb <peterc@gelato.unsw.edu.au> Currently, the context switch counters reported by getrusage() are always zero. The appended patch adds fields to struct task_struct to count context switches, and adds code to do the counting. The patch adds 4 longs to struct task struct, and a single addition to the fast path in schedule().
-
Andrew Morton authored
From: Christophe Saout <christophe@saout.de> - acpi_pci_link_get_irq() returns 0 on error, not -ENODEV. - Fix mpparse.c tpyo.
-
Andrew Morton authored
This printk doesn't impart any information.
-
Andrew Morton authored
From: Jaroslav Kysela <perex@suse.cz> The do_no_page() function in mm/memory.c does accounting for reserved pages (++mm->rss), but in zap_pte_range() we don't decrement rss if the page was reserved. So don't account for PageReserved pages in the rss. (Maybe it would be better to fix zap_pte_range in the opposite direction..)
-
Andrew Morton authored
-
Andrew Morton authored
-
Andrew Morton authored
From: Adrian Bunk <bunk@fs.tum.de> Remove CONFIG_KCORE_AOUT: the ability to present /proc/kcore in a.out format. I've checked with various arch maintainers. It won't be missed.
-
Andrew Morton authored
We get a linkage error with CONFIG_KCORE_AOUT because there is no implementation of kclist_add() and kclist_del(). Also fix a warning in the a.out version of read_kcore(). Maybe we should just remove kcore a.out support. m68knommu and h8300 are setting CONFIG_KCORE_AOUT in their defconfigs though.
-
Andrew Morton authored
From: <ffrederick@prov-liege.be> Flesh out the bad_inode file and inode operations tables with new additions.
-
Andrew Morton authored
From: Stephen Smalley <sds@epoch.ncsc.mil> This patch corrects a typo in an ifdef that enables xattr operations for special files in the ext2 code; otherwise, extended attributes cannot be obtained or set on such inodes.
-
Andrew Morton authored
From: Stephen Smalley <sds@epoch.ncsc.mil> This patch reworks the SELinux binprm hook functions to use a security structure for the linux_binprm rather than directly stuffing the security identifier into the void* security field. It also performs some cleanup of the SELinux binprm hook functions, and one miscellaneous fix.
-
Andrew Morton authored
From: Stephen Smalley <sds@epoch.ncsc.mil>, James Morris <jmorris@redhat.com> This patch corrects several format specifiers in the SELinux security server code.
-
Andrew Morton authored
From: Stephen Smalley <sds@epoch.ncsc.mil>, Arnd Bergmann <arnd@arndb.de> This patch changes the SELinux avtab to use vmalloc/vfree; the table is too large for kmalloc on s390.
-
Andrew Morton authored
From: Stephen Smalley <sds@epoch.ncsc.mil>, James Morris <jmorris@redhat.com> This patch adds the appropriate #if around the F_*64 commands in the selinux_file_fcntl hook function.
-
Andrew Morton authored
From: Franz Sirl <Franz.Sirl-kernel@lauterbach.com> current bk 2.6.0 corrupts my ext3 filesystems, usually in the RESYNC dir during a bk pull. Checking the recent changes I noticed that the one in fs/ext3/namei.c misses an endian conversion. The attached patch fixes that and works fine for me since 2 days now on PPC.
-
Andrew Morton authored
From: Andrey Panin <pazke@donpac.ru> attached trivial patch fixes visws subarch kernel build. It was broken by 2.6.0-test4 cpumask_t changes.
-
Andrew Morton authored
From: Oleg Drokin <green@namesys.com> The conversion of reiserfs to not return errors from writepage-outside-i_size was incorrect. Fix.
-
Andrew Morton authored
The `user_specified' variable is used in cleanup_module() and hence cannot be dropped from memory after module initialisation.
-
Andrew Morton authored
From: David Mosberger <davidm@napali.hpl.hp.com>, "Sharma, Arun" <arun.sharma@intel.com> The truncate race fix assumed that a non-zero vma->vm_ops->nopage implies a non-zero vma->vm_file. The ia64 x86 emulation code breaks this assumption, so teach do_no_page() to handle it.
-
Andrew Morton authored
From: Vinay K Nallamothu <vinay-rc@naturesoft.net> drivers/net/ni5010.c: This patch replaces cli/sti with spinlocks. Compiles fine though untested.
-
Andrew Morton authored
From: <ffrederick@prov-liege.be> Update the abi sysctl documentation.
-
Andrew Morton authored
From: <ffrederick@prov-liege.be> The expected case is (sysctl_overcommit_memory == 0), so put that first.
-
Andrew Morton authored
From: <ffrederick@prov-liege.be> Here's an _important_ kobject doc patch.
-
Andrew Morton authored
From: Rusty Russell <rusty@rustcorp.com.au> Change the permissions on /proc/kallsyms. As David M-T points out, it's nice for analysis tools not to need root. Place cond_resched() to avoid starvation problems on non-preempt.
-
Andrew Morton authored
From: Rusty Russell <rusty@rustcorp.com.au> Out by one error broke caching of results in /proc/kallsyms, slowing reading to a crawl.
-
Andrew Morton authored
From: Thomas Schlichter <schlicht@uni-mannheim.de> Make the `pci=noacpi' command line option work correctly. It fixes interrupt routing probems for (at least 3) people with broken ACPI BIOSes.
-