- 11 Jan, 2005 2 commits
-
-
Roland McGrath authored
When a thread stops for ptrace exit tracing, it cannot be resumed by SIGKILL. Once PF_EXITING is set, SIGKILL will not cause a wakeup from stop (see wants_signal in kernel/signal.c). This patch moves the ptrace stop for exit tracing before the setting of PF_EXITING. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Roland McGrath authored
Upon reevaluation we think it is indeed safe to permit the race between a ptrace call and the traced thread waking up, as long as it will never get back to user mode. This patch makes SIGKILL wake up threads in TASK_TRACED. That alone resolves most of the deadlock issues that became possible with the introduction of TASK_TRACED, getting us back to the killing behavior of 2.6.8 and before. This patch also further cleans up ptrace detaching, so that threads are left in TASK_STOPPED only if a job control stop is actually in effect, and otherwise resume. This removes the past nuisances requiring a SIGCONT to resume a thread even when it had a pending SIGKILL. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
- 10 Jan, 2005 29 commits
-
-
Chris Wright authored
- allow CAP_IPC_LOCK to override mlock rlimit during stack expansion as in all other cases Signed-off-by: Chris Wright <chrisw@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Chris Wright authored
Signed-off-by: Chris Wright <chrisw@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Richard Purdie authored
Patch from Richard Purdie The Sharp SL-C7xx series of PDAs (Corgi, Shepherd, Husky) don't set the machine type upon startup. Fixing this isn't possible as the devices have been produced and the bootloaders are in ROM. This header code detects the differences between them and sets the machine type accordingly. By doing this one kernel can support the series of PXA25x machines. The code also detects Poodle (Sharp SL-5600) which is also a PXA25x device allowing a common kernel to support that device as well. (The base machine code is under development for this device). Signed-off-by: Richard Purdie Signed-off-by: Russell King
-
Richard Purdie authored
Patch from Richard Purdie Add base machine support for the Sharp SL-C7xx series of PDAs (Corgi - SL-C700, Shepherd - SL-C750 and Husky - SL-C760). See linux-arm-kernel for a support commitment for this code. Depends on 2370/1 (SCOOP Driver). Signed-off-by: Richard Purdie Signed-off-by: Russell King
-
Richard Purdie authored
Patch from Richard Purdie Add common driver code for the SCOOP I/O interface found on various Sharp PDAs (Collie, Poodle and Corgi models). It will be used by both SA1100 and PXA machines. [A patch to update Collie to use this driver will follow.] Signed-off-by: Richard Purdie Signed-off-by: Russell King
-
Ben Dooks authored
Patch from Ben Dooks Remove code for decoding LCD Frame/FIFO IRQs from the include/asm-arm/arch-s3c2410/entry-macro.S file. These are not currently implemented, and should be decoded by a chained IRQ handler from the irq code. Signed-off-by: Ben Dooks Signed-off-by: Russell King
-
Ben Dooks authored
Patch from Ben Dooks If we read the INTPEND register and get the wrong result (details below) then it looks like a possible loop to go back and re-read it after calculating the possible correct value for it. It seems that the INTPEND register, which should show the unique number of the interrupt that we need to handle. However, it seems that this register can show the wrong interrupt under certain conditions. Shannon's research shows that it is very possible that the occurence of an external interrupt can end up merging with the base interrupt number, causing the wrong result in the register. This patch also fixes the end position of the #ifdef block and ensures as many registers as possible are stacked before calling printk() for debug. Original patch for 2.6.9 by Shannon Holland re-written for 2.6.10 by Ben Dooks. Signed-off-by: Shannon Holland Signed-off-by: Ben Dooks Signed-off-by: Russell King
-
Ben Dooks authored
Patch from Ben Dooks This is an old definition, and is no longer used anywhere. Add a comment to that effect in the header file include/asm-arm/arch-s3c2410/timex.h and remove all other references. Thanks to Klaus Fetscher for pointing out that it isn't used anymore Signed-off-by: Ben Dooks Signed-off-by: Russell King
-
Russell King authored
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
-
Roland McGrath authored
The __ptrace_unlink code that checks for TASK_TRACED fixed the problem of a thread being left in TASK_TRACED when no longer being ptraced. However, an oversight in the original fix made it fail to handle the case where the child is ptraced by its real parent. Fixed thus. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Linus Torvalds authored
As Alan says: "The '1.8' version is for the Moxa mxser driver. Moxa haven't released any 2.6 driver for the ancient 'smartio' hardware" so the smartio driver stil remains valid. Cset exclude: james4765@gmail.com[torvalds]|ChangeSet|20050108220924|25457
-
Tony Luck authored
David handed over the keys a few months ago. Time to make sure everyone knows to send stuff to me. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
bk://kernel.bkbits.net/gregkh/linux/i2c-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://kernel.bkbits.net/gregkh/linux/usb-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
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/i2c-2.6
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/usb-2.6
-
Linus Torvalds authored
The grows-up and grows-down cases had all the same issues, but differered in the details. Additionlly, historical evolution of the tests had caused the result to be pretty unreadable with some rather long and complex conditionals. Fix it all up in a more readable helper function. This also adds the missing RLIMIT_MEMLOCK test.
-
bk://kernel.bkbits.net/gregkh/linux/pci-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Hirofumi Ogawa authored
The nls_ascii conversion table is just for 128 entries, but should be 256. Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Linus Torvalds authored
We use a non-atomic kmap() to clear the page, which cannot be used from atomic contexts.
-
Linus Torvalds authored
It doesn't do the virtual cache synchronization that clear_user_highpage() does. Pointed out by Hugh Dickins.
-
Linus Torvalds authored
This not only makes sense, it fixes DEBUG_PAGEALLOC together with the new page zeroing, since we must map the page before we zero it. As per Chris Wright.
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/pci-2.6
-
Andi Kleen authored
extern declaration of static Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andi Kleen authored
Drop -Werror to allow compilation with gcc 4 Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andi Kleen authored
extern declaration of static Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andi Kleen authored
extern declaration of static Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
- 09 Jan, 2005 9 commits
-
-
Greg Ungerer authored
For some reason the asm versions of atomic_dec_and_test and friends were masked by inefficient and big macros. With it I spare up to 8k in the text size of my coldfire linux and 5k on my cpu32 version. Patch originally submitted by Philippe De Muyter <phdm@macqel.be> Signed-off-by: Greg Ungerer <gerg@snapgear.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Greg Ungerer authored
A number of small updates to the ColdFire serial driver: . support the SNEHA platform . set the default baud rate for console different on the FEITH boards . add support for the 527x ColdFire CPU's . schedule_timeout() should not add in current jiffies value . optimize way that receive error characters are processed . fix condition where receiver interrupts could be left disabled after flush Signed-off-by: Greg Ungerer <gerg@snapgear.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Greg Ungerer authored
Remove duplicated definition of THREAD_SIZE, it is defined in page.h. Also modify asm constraints to explicilty let gas know that the input arg is a constant in the current_thread_info() function. Patch originally submitted by Philippe De Muyter <phdm@macqel.be> Signed-off-by: Greg Ungerer <gerg@snapgear.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Greg Ungerer authored
Add definitions for the SDRAM configuration registers on the 528x ColdFire CPU's. Signed-off-by: Greg Ungerer <gerg@snapgear.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Greg Ungerer authored
The 527[01] ColdFire devices and the 527[45] devices have a very similar SDRAM register setup. But some registers are at different addresses. Define them appropriately so common sizing code can work for all ColdFire platforms. Signed-off-by: Greg Ungerer <gerg@snapgear.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Greg Ungerer authored
Move some platform specific setup code into the ColdFire 5249 header. Doing this for platforms that needs it means the startup code can be identical for all ColdFire based platforms. Signed-off-by: Greg Ungerer <gerg@snapgear.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Greg Ungerer authored
Change the SDRAM register names to be consistent across all ColdFire header files. Simplied their use in common memory sizing code at startup time. Signed-off-by: Greg Ungerer <gerg@snapgear.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Greg Ungerer authored
Cache initialization code for the ColdFire CPU's. They are not all identical. This code is used as part of the common head start code for all ColdFire platforms. Signed-off-by: Greg Ungerer <gerg@snapgear.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Greg Ungerer authored
Create a common head.S for all ColdFire architecture platforms. Currently there is 20 (yep 20 of them), and they are 95% the same code. This file with some header file support will replace all of them. Signed-off-by: Greg Ungerer <gerg@snapgear.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-