- 08 Oct, 2004 22 commits
-
-
Len Brown authored
into intel.com:/home/lenb/src/26-latest-dev
-
Len Brown authored
Signed-off-by: Andrew Morton <akpm@osdl.org>
-
Len Brown authored
Signed-off-by: Andrew Morton <akpm@osdl.org>
-
Len Brown authored
into intel.com:/home/lenb/src/26-latest-dev
-
David Woodhouse authored
On Fri, 2004-10-08 at 15:37 +1000, Paul Mackerras wrote: > This patch replaces cmp{,l}{,i} with cmp{,l}[wd]{,i} as appropriate. > The original patch was from Segher Boessenkool, slightly modified by > me. And also for ppc32 and arch/ppc64/kernel/ItLpQueue.c... Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paul Mackerras authored
There were a few places in assembly code in the ppc64 part of the kernel where we were using the old forms of the compare instruction (cmp, cmpi, cmpl, cmpli) which don't specify the operand size (word or doubleword). These have been accepted for a long time for backward compatibility with the old POWER architecture (and defaulted to a 32-bit comparison) but are now being rejected by the latest versions of binutils. Some of them were actual bugs in that they were on things which were actually 64-bit values such as pointers (not that any of them actually caused a problem in practice). This patch replaces cmp{,l}{,i} with cmp{,l}[wd]{,i} as appropriate. The original patch was from Segher Boessenkool, slightly modified by me. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paul Mackerras authored
Alan Cox pointed out that the degree symbol in the thermal sensor proc files that we have on ppc64 cause problems for people using other locales or UTF-8. This patch makes them disappear. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Benjamin Herrenschmidt authored
Some stuffs in ppc_ksyms.c where still #ifdef CONFIG_PPC_PSERIES, which is no longer set for PowerMac-only configs. Change them to depend on CONFIG_PPC_MULTIPLATFORM for now. Later on, a bunch of these will be just gone since those are mostly deprecated functions and I'll move the exports close to the actual functions. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paolo \'Blaisorblade\' Giarrusso authored
Currently hostfs passes the rdev value from stat() on the host as rdev value to return to stat() on the guest; but we cannot pass rdev as is because glibc and the kernel disagree about its definition. So we must decode it in a major/minor couple with glibc macros and re-encode it in kernelspace code. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paolo \'Blaisorblade\' Giarrusso authored
On 2.4 we used force_delete() to make sure inode were not cached, and we then close the host file when the inode is cleared; when porting to 2.6 the "force_delete" thing was dropped, and this patch adds a fix for this (by setting drop_inode = generic_delete_inode). Search for drop_inode in the 2.6 Documentation/filesystems/vfs.txt for info about this. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paolo \'Blaisorblade\' Giarrusso authored
Avoid compile failure due to the addition of sys_timer_create to linux/syscalls.h Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paolo \'Blaisorblade\' Giarrusso authored
Adds some more parenthesis for a macro arg to fix a warning (which was in kernel/uid16.c). Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paolo \'Blaisorblade\' Giarrusso authored
When we don't know how to handle ptrace(2) calls, call the arch-independent ptrace_request like i386 (and I guess other archs) do, instead of returning -EIO. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
David Gibson authored
Now that the PPC64 code supports more platforms than just pSeries and iSeries, some p/i specific Kconfig options need to be updated accordingly. Signed-off-by: David Gibson <dwg@au1.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Colin Leroy authored
Fixes a "variable might be used uninitialized". As usual it's a harmless warning because it can't really be, but that cleans the compilation's output :) Signed-off-by: Colin Leroy <colin@colino.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Colin Leroy authored
This patch fixes ans-lcd compilation error and warnings. See http://bugzilla.kernel.org/show_bug.cgi?id=3497Signed-off-by: Colin Leroy <colin@colino.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Matt Porter authored
This is first part (trivial one) of the ebony.c/ocotea.c cleanup, which moves common stuff to ibm44x_common.c. Signed-off-by: Eugene Surovegin <ebs@ebshome.net> Signed-off-by: Matt Porter <mporter@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Prasanna S. Panchamukhi authored
This patch adds a few NOTIFY_STOP missed out in the eariler patch. Signed-Off-By: Prasanna S Panchamukhi <prasanna@in.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Pavel Machek authored
fix_processor_context was calling functions marked __init on x86-64; bad idea. Thanks to Rafael for keeping notifying me about this bug. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jens Axboe authored
Add dummy ->generic_packet() for devices that don't provide one. It will error all commands with "unknown opcode" 0x05/0x20/0x00 sense and return -EIO. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andrew Morton authored
There's a lockup condition where kswapd ensounters an empty zone which has all its metadata set to zero. Fix that by adding explicit checks for empty zones and just skip over them. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Ingo Molnar authored
This patch, based on Ken Chen's patch, changes the default 2.5 msec migration-cutoff value to be based on cache_decay_ticks, which is what we used for a long time prior the sched-domains code. (If an architecture does not set cache_decay_ticks then 2.5 msec is used.) This causes the following new migration-cutoff values on various SMP systems: x86, variable: 2-way celeron 466MHz, 128K: 2.5 msec -> 1.0 msec 2-way/4-way 2.2 GHz P4 Xeon 1MB: 2.5 msec -> 2.0 msec 8-way P3 700 MHz Xeon 2MB: 2.5 msec -> 6.0 msec x64, variable: amd64: 2.0 GHz, 1MB: 2.5 msec -> 1.5 msec em64t: 3.4 GHz, 1MB: 2.5 msec -> 3.0 msec ppc64 [*]: 2.5 msec -> 2.5 msec (constant) ia64: 2.5 msec -> 10.0 msec (constant) [*] ppc64 does not set cache_decay_ticks so we fall back to the default. I believe in light of previous testing we could attempt this for 2.6.9 as well. (Note: that the 2.6.9-rc3 patch looks similar but needs to patch kernel/sched.c. Note2: this patch is different from Ken's original one.) Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Ken Chen <kenneth.w.chen@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
- 07 Oct, 2004 10 commits
-
-
http://lia64.bkbits.net/linux-ia64-release-2.6.9Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://kernel.bkbits.net/davem/sparc-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://kernel.bkbits.net/davem/net-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Arun Sharma authored
Signed-off-by: Arun Sharma <arun.sharma@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
-
Arun Sharma authored
+ Add sparse annotations to ia32 subsystem so it checks out cleanly. + Add set_fs(KERNEL_DS) in elfcore32.h + Use compat_ptr() instead of P() + Fix a bug in ia32_sigsuspend() by introducing __ia32_rt_sigsuspend() Signed-off-by: David Mosberger-Tang <davidm@hpl.hp.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
-
David S. Miller authored
into nuts.davemloft.net:/disk1/BK/net-2.6
-
David S. Miller authored
Signed-off-by: David S. Miller <davem@davemloft.net>
-
Russell King authored
PCMCIA resource management is no longer brain dead, and acts just like any other bus subsystem. Therefore, there's no need to play games with the resource subsystem anymore. Signed-off-by: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Maciej W. Rozycki authored
The physical broadcast ID is determined incorrectly for the i82489DX, which uses 8-bit physical addressing (32-bit logical). Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Benjamin Herrenschmidt authored
This updates the g5_defconfig, among others, it adds irq stacks, hugetlbfs and cramfs (later is needed for ppl trying to install fedora, and so often forgotten that I prefer adding it to the defconfig). Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
- 06 Oct, 2004 8 commits
-
-
Len Brown authored
into intel.com:/home/lenb/src/26-latest-dev
-
David Mosberger authored
Put back a secondary declaration of ipi_base_addr in hardirq.h. It really is needed for UP builds and there doesn't seem to be an easy way to avoid include-hell otherwise. Signed-off-by: davidm@hpl.hp.com Signed-off-by: Tony Luck <tony.luck@intel.com>
-
Tony Luck authored
We had hardcoded defines for TI_TASK TI_EXEC_DOMAIN, TI_FLAGS, TI_CPU, TI_ADDR_LIMIT, TI_PRE_COUNT, TI_RESTART_BLOCK; but only two of these were ever used. Remove all from thread_info.h, and generate the two that we do use (TI_FLAGS and TI_PRE_COUNT) in asm_offsets.c Patch supplied by Zou Nan hai Signed-off-by: Tony Luck <tony.luck@intel.com>
-
Benjamin Herrenschmidt authored
The find_udbg_vterm() used to initialize the early boot console on LPAR machines will not work properly on some recent pSeries because the firmware is playing tricks with the "phandle" values used to identify firmware nodes. This patch fixes that by using the full path instead. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
David S. Miller authored
Also, while we are here, s/__inline__/inline/ Signed-off-by: David S. Miller <davem@davemloft.net>
-
Dave Jones authored
More fun found with the coverity checker. Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Ingo Molnar authored
mmap() done from older !pt_gnu_stack binaries on noexec mounted filesystems could fail due to the extra PROT_EXEC bit. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
bk://bk.arm.linux.org.uk/linux-2.6-serialLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-