- 25 Jan, 2005 31 commits
-
-
Anton Blanchard authored
The kernel wouldnt link when SYSVIPC was disabled. x86-64 was already defining a cond_syscall, instead of duplicating it in the ppc64 port move it into the arch specific portion of kernel/sys_ni.c Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Anton Blanchard authored
The debug information in the boot wrapper can be quite verbose (it prints an entry for every address it attempts to claim). Disable it. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Anton Blanchard authored
Allow EEH to be disabled for pSeries targets, but only if the EMBEDDED option is enabled. This version incorporates some suggestions from Arnd Bergmann and Linas Vepstas. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paul Mackerras authored
This patch is from Nathan Lynch <nathanl@austin.ibm.com>. This changes struct device_node and associated code to use the kref api for object refcounting and freeing. I've given it some testing on pSeries with cpu add/remove and verified that the release function works. The change is somewhat cosmetic but it does make the code easier to understand... at least I think so =) The only real change is that the refcount on all device_nodes is initialized at 1, and the device node is freed when the refcount reaches 0 (of_remove_node has the extra "put" to ensure that this happens). This lets us get rid of the OF_STALE flag and macros in prom.h. Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paul Mackerras authored
This patch is originally from Nathan Lynch <nathanl@austin.ibm.com>. Sparse gives a warning "constant ... is so big it is long" for every expression where we check bits in the cur_cpu_spec->cpu_features value. This patch removes the warnings by using the ASM_CONST macro. Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paul Mackerras authored
This patch is originally from Linas Vepstas <linas@linas.org>. This is a dumb, dorky cleanup patch: Per last round of emails, the concept of EEH_REGION is gone, but a few stubs remained. This patch removes them. Signed-off-by: Linas Vepstas <linas@linas.org> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paul Mackerras authored
This patch is from Nishanth Aravamudan <nacc@us.ibm.com>. Replace schedule_timeout() with ssleep to simplify the code and to express the delay in seconds instead of HZ. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paul Mackerras authored
This patch is from Nishanth Aravamudan <nacc@us.ibm.com>. Replace schedule_timeout() with msleep to simplify the code and to express the delay in milliseconds instead of HZ. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paul Mackerras authored
This patch is from Nishanth Aravamudan <nacc@us.ibm.com>. Replace schedule_timeout() with msleep to simplify the code and to express the delay in milliseconds instead of HZ. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paul Mackerras authored
This patch is from Nishanth Aravamudan <nacc@us.ibm.com>. Replace schedule_timeout() with msleep to simplify the code and to express the delay in milliseconds instead of HZ. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paul Mackerras authored
This patch is from Craig Chaney <cchaney@us.ibm.com>. This patch moves the restoring of the stack pointer in the system call exit path to after the point where we clear the RI (recoverable interrupt) bit in the MSR. Normally, loading the stack pointer before clearing RI doesn't cause any problem because there is no trap that can normally occur in between. But if we are tracing the code using a tool that single-steps instructions, this can cause a problem. In this case, clearing RI serves as an indication that the following code can't be safely single-stepped. Signed-off-by: Craig Chaney <cchaney@us.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paul Mackerras authored
This patch is from Jake Moilanen <moilanen@austin.ibm.com>. The instruction syntax for the in_be64 inline asm was incorrect for the "m" constraint for the address parameter. This patch fixes the instruction in the inline asm. Signed-off-by: Jake Moilanen <moilanen@austin.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paul Mackerras authored
This patch is originally from Jake Moilanen <moilanen@austin.ibm.com>, substantially modified by me. On PPC64 systems with a hypervisor, we can't set the Data Address Breakpoint Register (DABR) directly, we have to do it through a hypervisor call. Signed-off-by: Jake Moilanen <moilanen@austin.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Anton Blanchard authored
We were allocating 48 segment tables on UP kernels. Remove them and save 192kB of kernel memory on UP builds. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Benjamin Herrenschmidt authored
This patch, mostly from Sven Luther and reworked by me, adds support for Pegasos machines to the ppc32 arch. The patch contains all of the arch code. I'll send separately a few driver changes as well. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Kumar Gala authored
The ppc pci bus and resource fixups will automatically adjust the IO space mappings by (hose->io_base_virt - isa_io_base). Since we map all of PCI IO space (PCI1 & PCI2) with a single mapping so it is continguious in virtual, physical, and PCI IO space the offset will equal MPC85XX_PCI1_IO_SIZE. There for we needed to reduce the setting by that amount for everything to work properly on CDS. Signed-off-by: Kumar Gala <kumar.gala@freescale.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Randy Vinson authored
The PPC version of pci_iomap seems to be missing a call to ioremap. This patch corrects that oversight and has been tested on a IBM PPC750FX Eval board. Signed-off-by: Randy Vinson <rvinson@mvista.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Kumar Gala authored
Allows a platform to initialize serial_state completely from gen550_init and no longer requires it to define SERIAL_PORT_DFNS. Signed-off-by: Kumar Gala <kumar.gala@freescale.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Kumar Gala authored
Adds default config files the MPC8540 ADS, MPC8560 ADS, and MPC8555 CDS reference boards. Hopefully people will stop asking me for mine :) Signed-off-by: Kumar Gala <kumar.gala@freescale.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andrea Arcangeli authored
Fix up an smp race introduced in 2.6.11-rc1 Signed-off-by: Andrea Arcangeli <andrea@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andrea Arcangeli authored
With Rik van Riel <riel@redhat.com> Simply running "dd if=/dev/zero of=/dev/hd<one you can miss>" can cause excessive amounts of dirty lowmem pagecache, due to the blockdev's non-highmem page allocation strategy. This patch effectively lowers the dirty limit for mappings which cannot be cached in highmem, counting the dirty limit as a percentage of lowmem instead. This should prevent heavy block device writers from pushing the VM over the edge and triggering OOM kills. Signed-off-by: Rik van Riel <riel@redhat.com> Acked-by: Andrea Arcangeli <andrea@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Chris Wright authored
Fix a bug spotted by "Michael S. Tsirkin" <mst@mellanox.co.il> Introduce a simple helper, vfs_ioctl(), so that both sys_ioctl() and compat_sys_ioctl() call the security hook in all cases and without duplication. Signed-off-by: Chris Wright <chrisw@osdl.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Akinobu Mita authored
When some hardware setups or architectures do not allow OProfile to use performance counters, OProfile operates in timer mode. But, from 2.6.11-rc1, we need to specify the module parameter "timer=1" to work on timer interrupt mode. Change things so that we detect the absence of the high-resolution timer and fall back to timer-based profiling automatically. Furthermore we can easily get oops by reading /dev/oprofile/cpu_type. Signed-off-by: Akinobu Mita <amgta@yacht.ocn.ne.jp> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Yoichi Yuasa authored
arch/mips/lib/csum_partial_copy.c:21: error: conflicting types for `csum_partial_copy_nocheck' include/asm/checksum.h:65: error: previous declaration of `csum_partial_copy_nocheck' arch/mips/lib/csum_partial_copy.c:38: error: conflicting types for `csum_partial_copy_from_user' include/asm/checksum.h:38: error: previous declaration of `csum_partial_copy_from_user' make[1]: *** [arch/mips/lib/csum_partial_copy.o] Error 1 make: *** [arch/mips/lib] Error 2 Signed-off-by: Yoichi Yuasa <yuasa@hh.iij4u.or.jp> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Johannes Stezenbach authored
We have two global variables called "debug". The attached patch cleans up various aspects of dibusb module argument handling, so it's a bit larger than just renaming "debug". Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andrew Morton authored
- Build fix for older gcc's - Don't typecast when assigning between void*'s and other pointers. cc: <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Linus Torvalds authored
-
Linus Torvalds authored
arguments. And make it non-inlined.
-
Greg Kroah-Hartman authored
This fixes a bug in the current tree preventing the sysfs module parameters from being able to be changed at all from userspace. It's as if someone just forgot to write this function... Signed-off-by: Greg Kroah-Hartman <greg@kroah.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Geert Uytterhoeven authored
The gcc4 signedness warning fix forgot to update the declarations in include/asm-m68k/checksum.h.
-
Ed L. Cashin authored
Remove __exit from aoeblk_exit (to allow it to be called from __init code). Remove register_blkdev into aoe_init (it's done in aoemain.c). Signed-off-by: Ed L. Cashin <ecashin@coraid.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
- 24 Jan, 2005 1 commit
-
-
bk://linux-ntfs.bkbits.net/ntfs-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
- 25 Jan, 2005 2 commits
-
-
Anton Altaparmakov authored
into cantab.net:/home/src/ntfs-2.6
-
Anton Altaparmakov authored
compiled without debug. This avoids a possible denial of service attack. Thanks to Carl-Daniel Hailfinger from SuSE for pointing this out.
-
- 24 Jan, 2005 6 commits
-
-
bk://kernel.bkbits.net/davem/net-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
David S. Miller authored
Signed-off-by: David S. Miller <davem@davemloft.net>
-
Michael Chan authored
- Fix TSO for 5750 chips by setting tcp checksum field to 0 for TSO packets - Add TG3_FLG2_HW_TSO flag for 5750 and newer chips that use the same TSO scheme Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Herbert Xu authored
If we forward a fragmented packet, we can have ip_summed set to CHECKSUM_HW or similar. This is fine for local protocol processing, but once if we are forwarding this packet we want to reset ip_summed to CHECKSUM_NONE. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Arjan van de Ven authored
Nothing in the kernel is using bcopy right know, and that is a good thing. Why? Because a lot of the architectures implement a broken bcopy().... the userspace standard bcopy() is basically a memmove() with a weird parameter order, however a bunch of architectures implement a memcpy() not a memmove(). Instead of fixing this inconsistency, I decided to remove it entirely, explicit memcpy() and memmove() are prefered anyway (welcome to the 1990's) and nothing in the kernel is using these functions, so this saves code size as well for everyone. Signed-off-by: Arjan van de Ven <arjan@infradead.org> Signed-off-by: Adrian Bunk <bunk@stusta.de> [ Side note: the only reason for bcopy appears to be totally ancient gcc versions for OSF/1, used to originally cross-compile Linux on alpha. Possibly some other similar cases. Time to move on ;-] Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
bk://linux-voyager.bkbits.net/voyager-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-