- 07 Jun, 2003 14 commits
-
-
Andi Kleen authored
cpu_relax is on i386 and x86-64 in processor.h, not system.h This makes CONFIG_DEBUG_SPINLOCK compile for x86-64
-
Paul Mackerras authored
This patch moves the definitions of BUG, BUG_ON and WARN_ON from <linux/kernel.h> to <asm/bug.h> (which <linux/kernel.h> includes), and supplies a new implementation for PPC which uses a conditional trap instruction for BUG_ON and WARN_ON, thus avoiding a conditional branch. This patch trims over 50kB from the size of the kernel that I use on powermacs. With this patch, on PPC we have a __bug_table section in the vmlinux binary, and also in modules if they use BUG, BUG_ON or WARN_ON. The __bug_table section has one entry for each BUG/BUG_ON/WARN_ON, giving the address of the trap instruction and the corresponding line number, filename and function name. This information is used in the exception handler for the exception that the trap instruction produces. The arch-specific module code handles the __bug_table section so that BUG/BUG_ON/WARN_ON work correctly in modules. Several architecture maintainers have acked this change. It should be completely benign for all of the other architectures (though they may decide to do something similar if they have a conditional trap instruction available).
-
Paul Mackerras authored
This patch removes the warnings that the check program came up with in the PPP code: ppp_async.c, ppp_deflate.c and ppp_generic.c. This involved adding __user and converting K&R-style function definitions to ANSI-style. I also took the time to add some extra comments to ppp_deflate.c explaining in more detail what each function does and what its arguments are.
-
Paul Mackerras authored
This patch removes the warnings that the `check' program came up with in drivers/macintosh. This involves adding __user in various places and fixing some non-ANSI function definitions for functions that take no arguments.
-
Steven Cole authored
Here is another final K&R to ANSI C cleanup patch for zlib.
-
René Scharfe authored
The members of struct sock got a prefix of 'sk_' recently. This patch updates smbfs to match the new world order.
-
bk://kernel.bkbits.net/acme/hlist-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Arnaldo Carvalho de Melo authored
This changeset: 1. Implements hlist_add_after 2. uses prefetch in hlist_for_each, using a trick that ends up being equivalent to having the prefetch instruction in the first block of the hlist_for_each for block, the compiler optimizes the second "test" away, as its result is constant 3. implements hlist_for_each_entry and hlist_for_each_entry safe, using a struct hlist_node as iterator to avoid the extra branches a similar implementation to list_for_each_entry would have if used a typed iterator, but while avoiding having to have the explicit hlist_entry as in hlist_for_each. 4. Converts the hlist_for_each users that had explicit prefetches, i.e. removed the explicit prefetch 5. fix a harmless list_entry use in a hlist_for_each in inode.c
-
bk://linux-dj.bkbits.net/cpufreqLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Dave Jones authored
powernow-k7 needs dmi_broken
-
Andi Kleen authored
This patch works around a gcc 3.3 bug on AMD64. On AMD64 the get_current() function expands to a switch on sizeof which has to be optimized away by the compiler, finally yielding an inline assembler statement. In some cases it seems to get that wrong and forgets to reference and use the argument. I have only seen it happen in binfmt_elf so far. Work around by just computing "current" once.
-
René Scharfe authored
hugetlbfs was unnecessarily verbose, and didn't even print out the right thing if given invalid mount options. Just return EINVAL.
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
bk://ppc.bkbits.net/for-linus-ppcLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
- 08 Jun, 2003 4 commits
-
-
Paul Mackerras authored
-
Paul Mackerras authored
-
Paul Mackerras authored
-
Paul Mackerras authored
This reduces the number of warnings from Linus' `check' program for stuff in arch/ppc.
-
- 07 Jun, 2003 1 commit
-
-
Paul Mackerras authored
into samba.org:/stuff/paulus/kernel/for-linus-ppc
-
- 06 Jun, 2003 21 commits
-
-
Paul Mackerras authored
-
Matt Porter authored
-
Paul Mackerras authored
-
David S. Miller authored
-
Stephen Hemminger authored
-
Sridhar Samudrala authored
-
Mitsuru Kanda authored
-
Randy Dunlap authored
-
Paul Mackerras authored
into samba.org:/stuff/paulus/kernel/for-linus-ppc
-
Herbert Xu authored
-
Christoph Hellwig authored
-
Anton Blanchard authored
An update to the ppc64 MAINTAINERS entry.
-
Rusty Russell authored
Trivial patch: when these were introduced cpu.h didn't exist.
-
Rusty Russell authored
This adds a /proc/kallsyms if you have CONFIG_KALLSYMS in your kernel. The output is nm-like, with symbols in caps (global) if exported using EXPORT_SYMBOL, rather than the normal static vs. non-static differentiation. This is useful for things like performance monitoring tools (profiling etc) that want to match addresses to names in user space.
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
http://linux-sound.bkbits.net/linux-soundLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Jaroslav Kysela authored
- added AZT3328 driver - added Terratec Aureon support to ICE1724 driver - fixed possible PCI posting problems - ENS1370, ENS1371, FM801, ICE1712, ICE1724, VIA82xx - AC'97 code - added new IDs - fixed typo in S/PDIF code - C-Media related fixes - USB driver - added nrpacks module option - added hack for AudioTrak Optoplay - removed OLD_USB stuff
-
Linus Torvalds authored
-
Andrew Morton authored
The loop thread is getting permanently stuck in balance_dirty_pages() (nr_writeback is exceeded) because the loop thread itself is responsible for completing writeback on behalf of higher layers. So we need to take that out: don't throttle the loop thread. Throttle the tasks which are generating all the dirty data instead.
-
Andrew Morton authored
From: Matthew Dobson <colpatch@us.ibm.com> This resurrects the old /proc/sys/vm/free_pages functionality: the ability to tell page reclaim how much free memory to maintain. This may be needed for specialised networking applications, and it provides an interesting way to stress the kernel: set it very low so atomic allocations can easily fail. Also, a 16G ppc64 box currently cruises along at 1M free memory, which is surely too little to supporthigh-speed networking. We have not changed that setting here, but it is now possible to do so. The patch also reduces the amount of free memory which the VM will maintain in ZONE_HIGHMEM, as it is almost always wasted memory.
-
Andrew Morton authored
From: Dave Olien <dmo@osdl.org> The change makes the transfer rate numbers come out right for the fibre channel version of this controller. For 1G FC, the NegotiatedSynchronousMegaTransfers is 1000, and the NegotiatedDataWidthBIts is 1. The old code assumed NegotiatedDataWidthBits was always either 8 or 16. The new code is simpler, and does the calculation correctly for all cases.
-