From: Andi Kleen Date: Fri, 19 Oct 2007 18:35:04 +0000 (+0200) Subject: x86 & generic: change to __builtin_prefetch() X-Git-Tag: v2.6.24-rc1~132^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab483570a13be2a34c0502b166df8f8b26802103;p=pandora-kernel.git x86 & generic: change to __builtin_prefetch() gcc 3.2+ supports __builtin_prefetch, so it's possible to use it on all architectures. Change the generic fallback in linux/prefetch.h to use it instead of noping it out. gcc should do the right thing when the architecture doesn't support prefetching Undefine the x86-64 inline assembler version and use the fallback. Signed-off-by: Andi Kleen Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed