- 03 Apr, 2003 3 commits
-
-
Andrew Morton authored
From: john stultz <johnstul@us.ibm.com> This patch, written with the advice of Joel Becker, addresses a problem with the hangcheck-timer. The basic problem is that the hangcheck-timer code (Required for Oracle) needs a accurate hard clock which can be used to detect OS stalls (due to udelay() or pci bus hangs) that would cause system time to skew (its sort of a sanity check that insures the system's notion of time is accurate). However, currently they are using get_cycles() to fetch the cpu's TSC register, thus this does not work on systems w/o a synced TSC. As suggested by Andi Kleen (see thread here: http://www.uwsg.iu.edu/hypermail/linux/kernel/0302.0/1234.html ) I've worked with Joel and others to implement the monotonic_clock() interface. Some of the major considerations made when writing this patch were o Needs to be able to return accurate time in the absence of multiple timer interrupts o Needs to be abstracted out from the hardware o Avoids impacting gettimeofday() performance This interface returns a unsigned long long representing the number of nanoseconds that has passed since time_init().
-
Andrew Morton authored
From: "J. Bruce Fields" <bfields@fieldses.org> If the NFS daemon is presented with a filehandle for a file that has been deleted, it does an iget() in fs/exportfs/expfs.c:export_iget() and gets a bad inode back. When it subsequently iput()s the inode, the result is: Mar 27 12:53:40 snoopy kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: Freeing blocks not in datazone - block = 1802201963, count = 27499 Mar 27 12:53:40 snoopy kernel: Remounting filesystem read-only The same can happen if ext2_get_inode() returns an error - ext2_read_inode() will return an uninitialised inode and ext2_put_inode() is not allowed to go looking inside the bad inode.
-
Andrew Morton authored
From: Hugh Dickins <hugh@veritas.com> The blk_congestion_waits in shmem_getpage are appropriate when the error is -ENOMEM, but not when the error is -EEXIST. So add that test in the first instance, but omit it all in the second instance.
-
- 02 Apr, 2003 19 commits
-
-
bk://kernel.bkbits.net/gregkh/linux/i2c-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Kai Germaschewski authored
-
Kai Germaschewski authored
For some reason which I cannot remember, we didn't use the automatic dependency generation for the generated .mod.[co] files. However, we do of course need dependency information for those, too, they need to be updated when e.g. the kernel version number changes.
-
Kai Germaschewski authored
This patch fixes two issues: o The CONFIG_MODVERSIONING=y case broke at compile time since some functions were not updated with the latest module changes o Exporting symbols from modules stopped working due to confusion of mod->num_syms and mod->num_ksyms. Rename mod->num_ksyms to mod->num_syms, which is more logical since the associated array is called ->syms, and for the kallsyms member use "num_symtab", since the associated array is ->symtab.
-
Kai Germaschewski authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/i2c-2.5
-
Greg Kroah-Hartman authored
-
Martin Schlemmer authored
This should have a working w83781d driver updated for 2.5.66-bk4. Currently sysfs support is working, and are according to the spec (sensors-sysfs) in the 'lm sensors sysfs file structure' thread. Thus I used 'temp_input[1-3]', as there was not final decision on having them temp_input[0-2] as well, for example.
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
(the users of this function have already been changed in previous patches)
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
This still needs to be converted to use sysfs files, but due to lack of hardware, I can not do this. This change is necessary as the sysctl and proc interface is about to go away.
-
Greg Kroah-Hartman authored
Note, some data is not converted and will not be displayed. Someone with this hardware is going to have to finish the rest of this conversion.
-
Greg Kroah-Hartman authored
-
Linus Torvalds authored
while number of symbols is "num_syms". It used to be "num_syms" and "num_ksyms" respectively (ie the "k" was the wrong way around). The previous naming was not just confusing, it had caused one actual bug (ie the normal symbol code had used "num_syms", which was wrong in the old confusing naming scheme).
-
John Levon authored
This is Mikael's version of Pavel's patch, fixed to let CONFIG_PM=n compile. It works for me on my 2-way using oprofile.
-
- 01 Apr, 2003 18 commits
-
-
Linus Torvalds authored
-
Stephen Rothwell authored
-
Stelian Pop authored
Damn, a copy and paste error and nobody noticed until now. From Daniel K.
-
John Levon authored
This implements a simple notifier so oprofile can notice removed and added modules properly
-
Dave Jones authored
According to Intel document 24161823.pdf[*] page 18, 'tm2' is misdefined. Its bit 7 not, bit 8. Also add the missing 'EST' (Enhanced Speedstep Technology) bit, and use the correct Intel terminology for the context ID bit. [*] http://www.intel.com/design/xeon/applnots/241618.htm
-
Dave Jones authored
-
Marijn Kruisselbrink authored
The fb-logo *.c files are not deleted on a make clean; this patch fixes this.
-
Christoph Hellwig authored
-
http://linux-acpi.bkbits.net/linux-acpiLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Randy Dunlap authored
This changes/fixes the optcd.c stack reduction patch from last week. Alan and Jens objected to the kmalloc() in cdromread(), suggesting that the read buffer should be allocated one time and held onto, so this patch does that.
-
Neil Brown authored
The systemcall interface for adding exports checked that the filesystem was exportable. The new interface doesn't... This patch splits this functionality into a separate function which is called from both sites.
-
Paul Mackerras authored
This adds the PCI ids for some of the newer Apple chips.
-
Paul Mackerras authored
This updates the battery charge calculations for powerbooks. This is Ben Herrenschmidt's work.
-
Paul Mackerras authored
This updates the ADB (Apple desktop bus) driver used on macs and powermacs. The main change, from Ben Herrenschmidt, is that handlers are called without a lock held now. It also adds a way for userland to obtain some information about individual ADB devices from the driver.
-
Jan Kara authored
-
Rusty Russell authored
CROSS_64KB won't work as advertised due to missing parenthesis. Pointed out by Joern Engel.
-
Stephen Rothwell authored
Just want to nip this in the bud :-)
-
Andries E. Brouwer authored
Only used for (dubious) debugging purposes, and exposes internal kernel state.
-