mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-01 01:39:20 +02:00
a7429453a2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31365 3c298f89-4303-0410-b956-a3cf2f4a3e73
21 lines
669 B
Diff
21 lines
669 B
Diff
--- a/arch/powerpc/include/asm/pgtable-ppc64.h
|
|
+++ b/arch/powerpc/include/asm/pgtable-ppc64.h
|
|
@@ -226,7 +226,7 @@ static inline int __ptep_test_and_clear_
|
|
static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr,
|
|
pte_t *ptep)
|
|
{
|
|
- unsigned long old;
|
|
+ unsigned long old __maybe_unused;
|
|
|
|
if ((pte_val(*ptep) & _PAGE_RW) == 0)
|
|
return;
|
|
@@ -236,7 +236,7 @@ static inline void ptep_set_wrprotect(st
|
|
static inline void huge_ptep_set_wrprotect(struct mm_struct *mm,
|
|
unsigned long addr, pte_t *ptep)
|
|
{
|
|
- unsigned long old;
|
|
+ unsigned long old __maybe_unused;
|
|
|
|
if ((pte_val(*ptep) & _PAGE_RW) == 0)
|
|
return;
|