Michal Simek 6847ba91a1 microblaze: Fix copy_to_user_page macro
copy_to_user_page macro is used in mm/memory.c:access_process_vm
function. This function is called from ptrace code (POKETEXT, POKEDATA)
which write data to memory. Microblaze handle physical address for
caches that's why there is virt_to_phys conversion.

There is potential one location which can caused the problem on WB system.

The important is take a look at write PTRACEs requests
(POKE/TEXT, DATA, USR).

Note:
Majority of Microblaze PTRACE code is moved to generic location
in newer kernel version that's why this solution should work on
the newest kernel version too.

linux/io.h is in cacheflush because of mm/nommu.c

Tested on a WB system - hello world debugging.

Signed-off-by: Michal Simek <monstr@monstr.eu>
2010-08-04 10:22:31 +02:00
..
2010-06-09 16:20:54 +02:00
2009-12-14 08:45:06 +01:00
2010-05-06 11:21:57 +02:00
2010-03-11 13:56:29 +01:00
2010-08-02 10:44:03 +02:00
2010-04-01 08:38:24 +02:00
2010-07-14 17:14:00 +10:00
2009-03-27 14:25:15 +01:00
2009-12-14 08:40:09 +01:00
2010-05-06 11:21:58 +02:00