diff options
author | Michal Simek <monstr@monstr.eu> | 2010-04-22 07:28:48 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2010-05-06 11:21:58 +0200 |
commit | 43f2a6e8b122378b9ad20cd8ea449cdb38f5d829 (patch) | |
tree | 4dc5783b8c59f45d783db6fee994282bbe9b6b0d /arch/microblaze/kernel/asm-offsets.c | |
parent | 21e1c93631e027136ea4070e7bca600c4ad4f391 (diff) | |
download | op-kernel-dev-43f2a6e8b122378b9ad20cd8ea449cdb38f5d829.zip op-kernel-dev-43f2a6e8b122378b9ad20cd8ea449cdb38f5d829.tar.gz |
microblaze: Remove "cache" optimized copy_page function
Current implementation doesn't handle dcache_line_length
correctly that's why is better to use generic memcpy.
Cache optimized function could be good way howto improve
performance but must be based on benchmarking not blind
function like this.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/kernel/asm-offsets.c')
-rw-r--r-- | arch/microblaze/kernel/asm-offsets.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/asm-offsets.c b/arch/microblaze/kernel/asm-offsets.c index 0071260..c1b459c 100644 --- a/arch/microblaze/kernel/asm-offsets.c +++ b/arch/microblaze/kernel/asm-offsets.c @@ -16,6 +16,7 @@ #include <linux/hardirq.h> #include <linux/thread_info.h> #include <linux/kbuild.h> +#include <asm/cpuinfo.h> int main(int argc, char *argv[]) { |