diff options
Diffstat (limited to 'arch/powerpc/kernel/head_fsl_booke.S')
-rw-r--r-- | arch/powerpc/kernel/head_fsl_booke.S | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/head_fsl_booke.S b/arch/powerpc/kernel/head_fsl_booke.S index 377e0c155c95..18c0093f9323 100644 --- a/arch/powerpc/kernel/head_fsl_booke.S +++ b/arch/powerpc/kernel/head_fsl_booke.S | |||
@@ -422,7 +422,6 @@ skpinv: addi r6,r6,1 /* Increment */ | |||
422 | * r12 is pointer to the pte | 422 | * r12 is pointer to the pte |
423 | */ | 423 | */ |
424 | #ifdef CONFIG_PTE_64BIT | 424 | #ifdef CONFIG_PTE_64BIT |
425 | #define PTE_FLAGS_OFFSET 4 | ||
426 | #define FIND_PTE \ | 425 | #define FIND_PTE \ |
427 | rlwinm r12, r10, 13, 19, 29; /* Compute pgdir/pmd offset */ \ | 426 | rlwinm r12, r10, 13, 19, 29; /* Compute pgdir/pmd offset */ \ |
428 | lwzx r11, r12, r11; /* Get pgd/pmd entry */ \ | 427 | lwzx r11, r12, r11; /* Get pgd/pmd entry */ \ |
@@ -431,7 +430,6 @@ skpinv: addi r6,r6,1 /* Increment */ | |||
431 | rlwimi r12, r10, 23, 20, 28; /* Compute pte address */ \ | 430 | rlwimi r12, r10, 23, 20, 28; /* Compute pte address */ \ |
432 | lwz r11, 4(r12); /* Get pte entry */ | 431 | lwz r11, 4(r12); /* Get pte entry */ |
433 | #else | 432 | #else |
434 | #define PTE_FLAGS_OFFSET 0 | ||
435 | #define FIND_PTE \ | 433 | #define FIND_PTE \ |
436 | rlwimi r11, r10, 12, 20, 29; /* Create L1 (pgdir/pmd) address */ \ | 434 | rlwimi r11, r10, 12, 20, 29; /* Create L1 (pgdir/pmd) address */ \ |
437 | lwz r11, 0(r11); /* Get L1 entry */ \ | 435 | lwz r11, 0(r11); /* Get L1 entry */ \ |