lkml.org 
[lkml]   [2007]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 5/8] Immediate Values - kprobe header fix
    Should be dropped, following Christoph's advice.

    * Mathieu Desnoyers (mathieu.desnoyers@polymtl.ca) wrote:
    > Since the immediate values depend on the same int3 handler as kprobes implements
    > for i386, we have to get architecture specific defines available for the kprobes
    > trap handler (especially restore_interrupts()) wven when CONFIG_KPROBES is not
    > selected.
    >
    > That kind of ifdef around a whole header does not make sense in the first place
    > anyway.
    >
    > Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
    > CC: prasanna@in.ibm.com
    > CC: ananth@in.ibm.com
    > CC: anil.s.keshavamurthy@intel.com
    > CC: davem@davemloft.net
    > ---
    > include/linux/kprobes.h | 2 +-
    > 1 file changed, 1 insertion(+), 1 deletion(-)
    >
    > Index: linux-2.6-lttng/include/linux/kprobes.h
    > ===================================================================
    > --- linux-2.6-lttng.orig/include/linux/kprobes.h 2007-07-13 18:47:57.000000000 -0400
    > +++ linux-2.6-lttng/include/linux/kprobes.h 2007-07-13 18:48:45.000000000 -0400
    > @@ -36,9 +36,9 @@
    > #include <linux/spinlock.h>
    > #include <linux/rcupdate.h>
    >
    > -#ifdef CONFIG_KPROBES
    > #include <asm/kprobes.h>
    >
    > +#ifdef CONFIG_KPROBES
    > /* kprobe_status settings */
    > #define KPROBE_HIT_ACTIVE 0x00000001
    > #define KPROBE_HIT_SS 0x00000002
    >
    > --
    > Mathieu Desnoyers
    > Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
    > OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
    > -
    > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    > the body of a message to majordomo@vger.kernel.org
    > More majordomo info at http://vger.kernel.org/majordomo-info.html
    > Please read the FAQ at http://www.tux.org/lkml/
    >

    --
    Mathieu Desnoyers
    Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
    OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-07-15 01:05    [W:0.025 / U:121.244 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site