From 6635669ff2996754da3e8700f51ee5ec3d2db032 Mon Sep 17 00:00:00 2001 From: "Ed L. Cashin" Date: Mon, 19 Sep 2005 19:57:36 -0700 Subject: [PATCH] --- yaml --- r: 9135 b: refs/heads/master c: e0487992ce1dd7ae7da9c6aabdb19570bb95432b h: refs/heads/master i: 9133: c9002f4953eeed303f3f7a5aea65e673e66c56ad 9131: 40290365bc05e2321bda0fd5848e52991e3a0561 9127: d9b6b9165ee953d7c918f0f8158fa64b9ad311c8 9119: 81e0e34bea487c1039458a0e425de6f55bfefda6 v: v3 --- [refs] | 2 +- trunk/include/linux/byteorder/generic.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 99d981b93176..84851a0c8436 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ff171d8f66a7fe1a000e610e9de11224749f9a22 +refs/heads/master: e0487992ce1dd7ae7da9c6aabdb19570bb95432b diff --git a/trunk/include/linux/byteorder/generic.h b/trunk/include/linux/byteorder/generic.h index 5fde6f4d6c1e..04bd756efc67 100644 --- a/trunk/include/linux/byteorder/generic.h +++ b/trunk/include/linux/byteorder/generic.h @@ -5,6 +5,10 @@ * linux/byteorder_generic.h * Generic Byte-reordering support * + * The "... p" macros, like le64_to_cpup, can be used with pointers + * to unaligned data, but there will be a performance penalty on + * some architectures. Use get_unaligned for unaligned data. + * * Francois-Rene Rideau 19970707 * gathered all the good ideas from all asm-foo/byteorder.h into one file, * cleaned them up.