All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: adeos-main <adeos-main@gna.org>
Subject: Re: [Adeos-main] [PATCH] Fix include for kernel/panic.c
Date: Mon, 29 Dec 2008 19:10:29 +0100	[thread overview]
Message-ID: <49591295.4070209@domain.hid> (raw)
In-Reply-To: <49590983.4010005@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 1202 bytes --]

Gilles Chanteperdrix wrote:
> Jan Kiszka wrote:
>> Gilles Chanteperdrix wrote:
>>> Jan Kiszka wrote:
>>>> +++ b/kernel/panic.c
>>>> @@ -21,6 +21,7 @@
>>>>  #include <linux/debug_locks.h>
>>>>  #include <linux/random.h>
>>>>  #include <linux/kallsyms.h>
>>>> +#include <linux/ipipe_trace.h>
>>> That is not enough, when compiling a kernel without I-pipe enabled, the
>>> compiler complains about ipipe_processor_id.
>> Good point. But I wonder where the ipipe_processor_id wrapper for the
>> disabled case is - can't find it in adeos-ipipe-2.6.26-arm-1.11-02.patch
>> right now.
> 
> It does not exist.

Ah, I see now. This hunk from my ipipe-lttng patch is required upstream:

Index: b/include/linux/ipipe.h
===================================================================
--- a/include/linux/ipipe.h
+++ b/include/linux/ipipe.h
@@ -534,7 +534,8 @@ static inline void local_irq_restore_nos
 #define ipipe_irq_unlock(irq)		do { } while(0)
 
 #define ipipe_root_domain_p		1
-#define ipipe_safe_current		current
+#define ipipe_processor_id()		smp_processor_id()
+#define ipipe_safe_current()		current
 
 #define local_irq_disable_head()	local_irq_disable()
 

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]

  reply	other threads:[~2008-12-29 18:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-29 14:52 [Adeos-main] [PATCH] Fix include for kernel/panic.c Jan Kiszka
2008-12-29 15:55 ` Gilles Chanteperdrix
2008-12-29 17:28   ` Jan Kiszka
2008-12-29 17:31     ` Gilles Chanteperdrix
2008-12-29 18:10       ` Jan Kiszka [this message]
2008-12-29 20:32     ` Philippe Gerum
2008-12-29 16:00 ` Philippe Gerum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49591295.4070209@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=adeos-main@gna.org \
    --cc=gilles.chanteperdrix@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.