Wednesday, February 24, 2010

linux.kernel - 26 new messages in 11 topics - digest

linux.kernel
http://groups.google.com/group/linux.kernel?hl=en

linux.kernel@googlegroups.com

Today's topics:

* [PATCH] use kprobes_built_in() in mm/fault code - 12 messages, 1 author
http://groups.google.com/group/linux.kernel/t/e3cba9cf6d8b02fa?hl=en
* drivers: isdn: get rid of custom strtoul() - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/442c59d8f39c6c69?hl=en
* Patch for tracing c states (power_end) on x86 - 2 messages, 2 authors
http://groups.google.com/group/linux.kernel/t/91e464354797bdad?hl=en
* Separate lock events with types - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/b401f2c4371a72bd?hl=en
* iTCO_wdt: Don't double the requested timeout - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/f353faa1360943fc?hl=en
* introduce sys_membarrier(): process-wide memory barrier (v9) - 1 messages, 1
author
http://groups.google.com/group/linux.kernel/t/c66948a2bac76935?hl=en
* windfarm: init sysfs attributes - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/8667019ee9a5d536?hl=en
* x86: use vector_desc instead of vector_irq - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/7b1281c0ca4014ea?hl=en
* cpuset,mm: update tasks' mems_allowed in time (58568d2) - 1 messages, 1
author
http://groups.google.com/group/linux.kernel/t/c97c21f117bf365d?hl=en
* KVM: x86: Kick VCPU outside PIC lock again - 3 messages, 2 authors
http://groups.google.com/group/linux.kernel/t/07450b580f5cc563?hl=en
* x86-32: improve atomic64_t functions (v3, for tip/x86/asm) - 2 messages, 1
author
http://groups.google.com/group/linux.kernel/t/8b493ddfba63d5b1?hl=en

==============================================================================
TOPIC: [PATCH] use kprobes_built_in() in mm/fault code
http://groups.google.com/group/linux.kernel/t/e3cba9cf6d8b02fa?hl=en
==============================================================================

== 1 of 12 ==
Date: Wed, Feb 24 2010 12:50 am
From: Martin Schwidefsky


From: Heiko Carstens <heiko.carstens@de.ibm.com>

Use kprobes_built_in() to avoid ifdefs like most other architectures do.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
---

arch/s390/mm/fault.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

Index: quilt-2.6/arch/s390/mm/fault.c
===================================================================
--- quilt-2.6.orig/arch/s390/mm/fault.c 2010-02-24 09:44:26.000000000 +0100
+++ quilt-2.6/arch/s390/mm/fault.c 2010-02-24 09:44:27.000000000 +0100
@@ -60,15 +60,13 @@
{
int ret = 0;

-#ifdef CONFIG_KPROBES
/* kprobe_running() needs smp_processor_id() */
- if (!user_mode(regs)) {
+ if (kprobes_built_in() && !user_mode(regs)) {
preempt_disable();
if (kprobe_running() && kprobe_fault_handler(regs, 14))
ret = 1;
preempt_enable();
}
-

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate