All of lore.kernel.org
 help / color / mirror / Atom feed
* [Adeos-main] stange reacquire_kernel_lock call
@ 2007-04-02  8:30 Paolo Teti
  0 siblings, 0 replies; only message in thread
From: Paolo Teti @ 2007-04-02  8:30 UTC (permalink / raw)
  To: adeos-main

Dear all.

This is my first Aedos download, use and study.

Looking at the "adeos-ipipe-2.6.20-i386-1.7-03.patch" content I have
notice this piece of code:

int ipipe_reenter_root (struct task_struct *prev, int policy, int prio)
+{
+	finish_task_switch(this_rq(), prev);
+	if (reacquire_kernel_lock(current) < 0)
+		;

Why? This should be a simple reacquire_kernel_lock(current) without "if",
if I'm not wrong.

Pao


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-02  8:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-02  8:30 [Adeos-main] stange reacquire_kernel_lock call Paolo Teti

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.