- 17 Sep, 2002 40 commits
-
-
Rusty Russell authored
The old form of designated initializers are obsolete: we need to replace them with the ISO C forms before 2.6. Gcc has always supported both forms anyway.
-
Rusty Russell authored
I suck. Lvalues continue to haunt me. This works for me. BTW, I prefer to have bug reports cc'd to linux-kernel, so the results are archived. Plus, public humiliation is good for the soul.
-
Lucas Correia Villa Real authored
This is a trivial patch already applied in the -ac tree for the 2.4.19 kernel. Patch for i2c-philips-par.c free() the memory in the case of problems loading the adapter.
-
James Mayer authored
-
Brad Hards authored
<linux/smp_lock.h> has the normal idempotent construction. The attached file removes the second #include.
-
Art Haas authored
Here's a C99 designated initializer patch for fs/freevxfs. The patch is against 2.5.35.
-
bk://ldm.bkbits.net/linux-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Andrew Morton authored
Display the total slab memory in /proc/meminfo. Handy while we play with the slab pruning code. This info is also available via /proc/slabinfo, but I think this convenience is worth the extra few lines.
-
Andrew Morton authored
Patch from Christoph Hellwig. Move the buffer_head-based IO functions out of ll_rw_blk.c and into fs/buffer.c. So the buffer IO functions are all in buffer.c, and ll_rw_blk.c knows nothing about buffer_heads. This patch has been acked by Jens.
-
Andrew Morton authored
From Anton Altaparmakov The below bk patch against your current bk repository adds an export for fs/buffer.c::unmap_underlying_metadata() to modules. It is required to make ntfs compile as a module in the current kernel. Note that NTFS doesn't currently dirty bufferheads of the underlying blockdevice and as such could probably live without calling unmap_underlying_metadata() but as soon as we enable writing to compressed files it will do so and considering some of the infrastructure code is already present I would rather not rip it out now.
-
Andrew Morton authored
Patch by Christoph Hellwig. This patch is cleanup of mmap.c with the side-effect of making the lock order of mapping->i_shared_lock and mm->page_table_lock consistant. __remove_shared_vm_struct is merged into its only caller, remove_shared_vm_struct, which now also does the job of {lock,unlock}_vma_mappings itself, to avoid duplicate checks. Similarly, vma_link is updated to take and release i_shared_lock itself, fixing the lock order. split_vma is updated to use insert_vm_struct instead of using __insert_vm_struct and taking page_table_lock and i_shared_lock itself (wrongly). __insert_vm_struct is removed as it is unused now.
-
Andrew Morton authored
Patch from Christoph Hellwig. 250 lines of code go away. The three syscalls madvice/mlock/mprotect all change attributes of memory regions. These attributes are stored in vm_area_structs (VMAs). The current code for those syscalls does this by having four subroutines each, for changing a whole VMA, one for just setting new flags if a full VMA is affected, one that creates a new VMA in the right part of the old one and sets the flags there, one for the left part, and one that splits of both the left and the right part and sets the new flags in the middle. This patch makes those routines create new VMAs on the left and on te right hand first and then always setting the flags in the old VMA. Together with using a library function (split_vma) to to the split this simplies the code and makes it more readable. As a side affect it fixes some VM accounting bugs observed by Hugh Dickins.
-
Andrew Morton authored
Patch from Christoph Hellwig moves the madvise implementation out of filemap.c and into its own .c file. No other changes are made.
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
-
David S. Miller authored
Andrew removed a flush_dcache_page in his kmap_atomic generic_file_* changes. Doing that sort of corrupts data on some platforms.
-
http://linux-isdn.bkbits.net/linux-2.5.makeLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Kai Germaschewski authored
Now that all archs use the same way to generate the link script, we can handle it from the common top-level Makefile instead of the individual arch/*/Makefile's.
-
Kai Germaschewski authored
Untested, but at least it should show how to adapt the mips arch.
-
Kai Germaschewski authored
Untested, but at least it should show how to adapt the cris arch.
-
Kai Germaschewski authored
This is an untested attempt to convert ARM to preprocessing vmlinux.lds.S instead of running sed on it - This probably allows for further cleanup, but I'll leave that to _rmk_.
-
Kai Germaschewski authored
For consistency reasons, generate arch/$(ARCH)/vmlinux.lds.s from arch/$(ARCH)/vmlinux.lds.S on all archs, even those which do not need preprocessing (yet).
-
Kai Germaschewski authored
Sam Ravnborg: Yep, "if_changed_dep" uses fixdep, so a dependency to scripts is needed. Added echo_target as well, so the result file is printed as well.
-
Pete Zaitcev authored
-
David S. Miller authored
-
David S. Miller authored
-
Patrick Mochel authored
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-cls
-
David S. Miller authored
-
David S. Miller authored
-
bk://linuxconsole.bkbits.net/stableLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Jens Axboe authored
remove unused pdc202xx.h
-
Patrick Mochel authored
-
Linus Torvalds authored
but makes it impossible to shut down cleanly.
-
James Simmons authored
Renames console.c and vt.c. The idea is to break these massive files into smaller ones. The main goal is to move all the high end tterminal emulation into one file. This way we can have a light weight printk without the extra weight. nice for embedded systems.
-
James Simmons authored
Removed selection.h header. It is not needed and in the future selections will be a pure userland solution. Use set_current_state instead in tty_ioctl.c.
-
James Simmons authored
-
http://linuxconsole.bkbits.net/stableJames Simmons authored
into maxwell.earthlink.net:/usr/src/console-stable
-
http://linux-ntfs.bkbits.net/ntfs-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Anton Altaparmakov authored
-