POSIX-compliant.
--
Julio M. Merino Vidal <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
On 09/06/2007, at 21:34, Christian Kujau wrote:
On Sat, 9 Jun 2007, Julio M. Merino Vidal wrote:
Wouldn't this be better expressed as:
start=$(($start + 8))
size=$(($end - $start))
to avoid invoking a subshell?
This is certainly possible for lots for scripts, but was not the
&
ull`
-let start="$start + 8"
-let size="$end - $start"
+start="`expr $start + 8`"
+size="`expr $end - $start`"
Wouldn't this be better expressed as:
start=$(($start + 8))
size=$(($end - $start))
to avoid invoking a subshell?
--
f habit, and I bet I'm not alone. Hence, 80
is "annoying" not only because patches will wrap, but also because in
some editors the 80th character will also wrap.
Just my 2 cents,
--
Julio M. Merino Vidal <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line &
w if
Linux is also involved or not.)
--
Julio M. Merino Vidal <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read
stick to per-cpu wherever
possible for now.
Anyway, what do you think about adding the above text to the code (percpu.h
maybe) as documentation? See the patch below. (Dunno if the Signed-off-by
line is appropriate as most of the text is yours.)
Signed-off-by: Julio M. Merino Vidal <[EMAIL PROTE
regards,
Signed-off-by: Julio M. Merino Vidal <[EMAIL PROTECTED]>
diff --git a/include/asm-powerpc/paca.h b/include/asm-powerpc/paca.h
index cf95274..00a70e5 100644
--- a/include/asm-powerpc/paca.h
+++ b/include/asm-powerpc/paca.h
@@ -107,7 +107,5 @@ struct paca_struct {
extern
But on the other hand, percpu seems like
an unnatural approach to "reimplement" regular structures.
Thank you very much.
--
Julio M. Merino Vidal <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EM
8 matches
Mail list logo