From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 14 Dec 2007 19:44:12 +0000 (GMT) From: Michael Trimarchi MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1787781866-1197661452=:28041" Message-ID: <410198.28041.qm@domain.hid> Subject: Re: [Adeos-main] at91sam9260 List-Id: General discussion about Adeos List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gilles Chanteperdrix Cc: adeos-main@gna.org --0-1787781866-1197661452=:28041 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =0AHi,=0A=0A+#define PICK_SPINUNLOCK_IRQ_RAW(lock) = \=0A+do { = \=0A+ if (TYPE_EQUAL((lock), __ipipe_spinlock_t)) { = \=0A+ __ipipe_spin_lock_irq(&((__ipipe_spinlock_t *)(lock)= )->__raw_lock); \=0A+ } else if (TYPE_EQUAL(lock, spinlock_t)) = \=0A+ __raw_spin_unlock(&((spinlock_t *)(loc= k))->raw_lock); \=0A+ local_irq_enable(); = \=0A+} while (0)=0A=0AWho can me explain this in the off= icial adeos-ipipe-2.6.20-arm-1.7-06.patch ?=0AI don't understand=0A=0ARegar= ds Michael=0A=0A=0A=0A=0A=0A ___________________________________ =0AL'= email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: =0A= http://it.docs.yahoo.com/nowyoucan.html --0-1787781866-1197661452=:28041 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Hi,

+#define PICK_SPINUNLOCK_IRQ_RAW(loc= k)            &= nbsp;           &nbs= p; \
+do {          &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;      \
+     &nbs= p; if (TYPE_EQUAL((lock), __ipipe_spinlock_t)) {            &= nbsp;      \
+     &nb= sp;         __ipipe_spin_lock_irq(&= amp;((__ipipe_spinlock_t *)(lock))->__raw_lock); \
+   = ;    } else if (TYPE_EQUAL(lock, spinlock_t))  &nb= sp;            =          \
+   &n= bsp;           __raw_spin= _unlock(&((spinlock_t *)(lock))->raw_lock);   \
+ =             &nb= sp; local_irq_enable();         &= nbsp;           &nbs= p;            &= nbsp;  \
+} while (0)

Who can me explain this in the officia= l adeos-ipipe-2.6.20-arm-1.7-06.patch ?
I don't understand

Regard= s Michael


=0A=0A=0A
L'email della prossima generazione? Puoi averla con la Nuova Yahoo! Mail= --0-1787781866-1197661452=:28041--