projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf4981a
)
powerpc/mm: Remove duplicate declaration of setbat()
author
Michael Ellerman
<mpe@ellerman.id.au>
Wed, 25 Mar 2015 09:11:54 +0000
(20:11 +1100)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Tue, 7 Apr 2015 07:15:13 +0000
(17:15 +1000)
This is already declared in mmu_decl.h, so we don't need a second
version in the C file.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/pgtable_32.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/mm/pgtable_32.c
b/arch/powerpc/mm/pgtable_32.c
index 24f304a9a09593ef03fe795bb2a09d73642b10a7..1bc1762f358d2fb38b89b185bf76f4adc1cbc622 100644
(file)
--- a/
arch/powerpc/mm/pgtable_32.c
+++ b/
arch/powerpc/mm/pgtable_32.c
@@
-54,9
+54,6
@@
extern char etext[], _stext[];
#ifdef HAVE_BATS
extern phys_addr_t v_mapped_by_bats(unsigned long va);
extern unsigned long p_mapped_by_bats(phys_addr_t pa);
-void setbat(int index, unsigned long virt, phys_addr_t phys,
- unsigned int size, int flags);
-
#else /* !HAVE_BATS */
#define v_mapped_by_bats(x) (0UL)
#define p_mapped_by_bats(x) (0UL)