|
@@ -197,7 +197,9 @@ static int __spu_trap_data_map(struct spu *spu, unsigned long ea, u64 dsisr)
|
|
(REGION_ID(ea) != USER_REGION_ID)) {
|
|
(REGION_ID(ea) != USER_REGION_ID)) {
|
|
|
|
|
|
spin_unlock(&spu->register_lock);
|
|
spin_unlock(&spu->register_lock);
|
|
- ret = hash_page(ea, _PAGE_PRESENT | _PAGE_READ, 0x300, dsisr);
|
|
|
|
|
|
+ ret = hash_page(ea,
|
|
|
|
+ _PAGE_PRESENT | _PAGE_READ | _PAGE_PRIVILEGED,
|
|
|
|
+ 0x300, dsisr);
|
|
spin_lock(&spu->register_lock);
|
|
spin_lock(&spu->register_lock);
|
|
|
|
|
|
if (!ret) {
|
|
if (!ret) {
|