- 15 Dec, 2002 26 commits
-
-
Stephen Rothwell authored
This patch creates compat_sys_times and a few more compability types.
-
Rusty Russell authored
This is the backwards compatibility code for MODULE_PARM, and moves __MODULE_STRING() down to the graveyard at the bottom of module.h. It's complicated by the fact that many modules place MODULE_PARM() before the declaration (some do MODULE_PARM() for non-existant variables, too). To avoid breaking them, we have to do the name lookups at load time, rather than just storing a pointer 8( CONFIG_OBSOLETE_MODPARM is set to y without prompting: it's a useful marker for deprecating in 2.7.
-
Rusty Russell authored
This activates parameter parsing for module_param() declarations in modules.
-
Rusty Russell authored
This patch is a rewrite of the insmod and boot parameter handling, to unify them. The new format is fairly simple: built on top of __module_param_call there are several helpers, eg "module_param(foo, int, 000)". The final argument is the permissions bits, for exposing parameters in sysfs (if non-zero) at a later stage.
-
Zwane Mwaikambo authored
I need to initialise the ad1848 driver before attempting attach/probe from dependent drivers (e.g. opl3sa2)
-
Stephen Rothwell authored
Fix for the compatibility layer for NULL 'remaining time' pointer.
-
Linus Torvalds authored
-
Martin Schwidefsky authored
Add sys_wait4 to the list of exported functions.
-
Martin Schwidefsky authored
Warning fixes: remove an unused variable and make bitops complain if the pointer isn't of type long. Make 31 bit BUG() emit 4 0-bytes instead of 2. This improves the readability of the listing.
-
Martin Schwidefsky authored
Make some functions and variables static.
-
Martin Schwidefsky authored
Remove last remaining file of the old tape driver.
-
Martin Schwidefsky authored
Fix return value of __put_user_asm_8.
-
Martin Schwidefsky authored
Start of chsc interface cleanup. Fix for a race condition in do_IRQ. Fix device reference counting.
-
Martin Schwidefsky authored
sys_restart_syscall for nanosleep restarting.
-
Martin Schwidefsky authored
Makefile changes by Sam Ravnborg. Summary of changes: o Added FORCE prerequisite in boot/Makefile o Do not use shorthand targets when calling the boot/Makefile o No longer use BOOT_IMAGE, not needed now o Use kbuild clean infrastructure when cleaning up in boot o Offset generation shrinked with one rule o removed inclusion of Rules.make in all Makefiles o no longer use the descend macro, use $(Q)$(MAKE) as replacement
-
Christoph Hellwig authored
hch moved around to work for SGI..
-
Dominik Brodowski authored
This patch moves the Kconfig entries for CPUfreq from "Processor type and features" to "Power management options".
-
Dominik Brodowski authored
This patch moves some basic per-CPU static information (minimum frequency, maximum frequency and maximum transition latency) into a struct cpufreq_cpuinfo. This offers a much cleaner struct cpufreq_driver and struct cpufreq_policy.
-
Pavel Machek authored
Kill unused variable and simplify assembly portion a bit...
-
Pavel Machek authored
gcc3.2 is a bit more pedantic...
-
Richard Henderson authored
sr_ioctl.c uses virt_to_phys, which is defined in asm/io.h. On x86, this accidentally works, due to other indirect includes, but on Alpha results in a link error.
-
Ingo Molnar authored
This fixes one more threaded-coredumps detail reported by the glibc people: all threads taken down by the coredump code should report the proper exit code. We can do this rather easily via the group_exit mechanism. 'Other' threads used to report SIGKILL, which was highly confusing as the shell often displayed the 'Killed' message instead of a 'Segmentation fault' message. Another missing bit was the 0x80 bit set in the exit status for all threads, if the coredump was successful. (it's safe to set this bit in ->sig->group_exit_code in an unlocked way because all threads are artificially descheduled by the coredump code.)
-
Randy Dunlap authored
Moves console_loglevel & friends to an array, as sysctl expects.
-
Brian Gerst authored
Makefiles no longer need to include Rules.make, which is currently an empty file. This patch removes it from the remaining Makefiles, and removes the empty Rules.make file.
-
Brian Gerst authored
Makefiles no longer need to include Rules.make, which is currently an empty file. This patch removes it from the drivers tree Makefiles.
-
Brian Gerst authored
Makefiles no longer need to include Rules.make, which is currently an empty file. This patch removes it from the arch tree Makefiles.
-
- 14 Dec, 2002 14 commits
-
-
Kai Mäkisara authored
This contains the following changes for the SCSI tape driver in 2.5.51: - fix module bugs that prevent finding any devices - allow opening a device with O_NONBLOCK | O_RDWR even if the tape in drive is write protected
-
Andrew Morton authored
Remove the unused vm_area_struct.vm_raend. If someone wants to tune per-VMA readaround then they can alter vma->vm_file->f_ra.ra_pages.
-
Andrew Morton authored
It is missing a brelse() on an error path.
-
Andrew Morton authored
Fetch the next cacheline as we're counting up the fields in this one.
-
Andrew Morton authored
The optimisation for synchronous mounts was only correct for S_ISREG files. Directories do not pass through generic_osync_inode() and we still need to synchronously write out their indirect blocks.
-
Andrew Morton authored
In PAE mode there is a 4-byte gap and they're not aligning correctly.
-
Andrew Morton authored
From Hugh. Be consistent in deciding when we are below the zone allocation thresholds.
-
Andrew Morton authored
From Hugh. Be more explicit in the "can we sleep" test. It doesn't change anything unless someone is performing __GFP_IO && !__GFP_WAIT allocations, which is nonsensical.
-
Andrew Morton authored
A little cleanup suggested by Chris Mason or Al Viro. Quite a number of codepaths are testing whether a superblock has a non-null ->s_op pointer. We can remove all those by making sure that all superblocks have a valid ->s_op.
-
Andrew Morton authored
madvise_willneed() currently has a very strange check on how much readahead it is prepared to do. It is based on the user's rss limit. But this is usually enormous, and the user isn't necessarily going to map all that memory at the same time anyway. And the logic is wrong - it is comparing rss (which is in bytes) with `end - start', which is in pages. And it returns -EIO on error, which is not mentioned in the Open Group spec and doesn't make sense. This patch takes it all out and applies the same upper limit as is used in sys_readahead() - half the inactive list.
-
Andrew Morton authored
This ad-hoc assertion is no longer true. If all zones are in the `all unreclaimable' state it can trigger. When testing with a tiny amount of physical memory.
-
Andrew Morton authored
readahead allocates all the pages before starting I/O. Potentially bad if someone is performing huge reads with madvise or sys_readahead(). So the patch just busts that up into two-megabyte units.
-
Andrew Morton authored
generic_file_write()'s rlimit checks are preventing writes to large offsets into blockdevs: # ulimit -f 10000 # dd if=/dev/zero of=/dev/sde5 bs=1k count=1 seek=1000000 zsh: file size limit exceeded So don't apply that check if it's a blockdev. The patch also caches the S_ISBLK result in a local.
-
Andrew Morton authored
From Andreas Dilger. Additional sanity checks in the ext2 and ext3 block allocators: if someone tries to free a negative number of blocks, detect and handle that rather than wrecking the fs.
-