* [PATCH] m68knommu: Remove unnecessary prototype for kobjsize()
@ 2014-06-20 7:29 Tobias Klauser
2014-06-20 14:21 ` Greg Ungerer
0 siblings, 1 reply; 2+ messages in thread
From: Tobias Klauser @ 2014-06-20 7:29 UTC (permalink / raw)
To: Greg Ungerer, Geert Uytterhoeven; +Cc: linux-m68k, linux-kernel
The prototype for kobjsize() is already defined in linux/mm.h which is
included where kobjsize() is used.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
arch/m68k/include/asm/pgtable_no.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/arch/m68k/include/asm/pgtable_no.h b/arch/m68k/include/asm/pgtable_no.h
index c527fc2..11859b8 100644
--- a/arch/m68k/include/asm/pgtable_no.h
+++ b/arch/m68k/include/asm/pgtable_no.h
@@ -46,11 +46,6 @@ static inline int pte_file(pte_t pte) { return 0; }
#define ZERO_PAGE(vaddr) (virt_to_page(0))
/*
- * These would be in other places but having them here reduces the diffs.
- */
-extern unsigned int kobjsize(const void *objp);
-
-/*
* No page table caches to initialise.
*/
#define pgtable_cache_init() do { } while (0)
--
1.7.9.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] m68knommu: Remove unnecessary prototype for kobjsize()
2014-06-20 7:29 [PATCH] m68knommu: Remove unnecessary prototype for kobjsize() Tobias Klauser
@ 2014-06-20 14:21 ` Greg Ungerer
0 siblings, 0 replies; 2+ messages in thread
From: Greg Ungerer @ 2014-06-20 14:21 UTC (permalink / raw)
To: Tobias Klauser; +Cc: Geert Uytterhoeven, linux-m68k, linux-kernel
Hi Tobias,
On 20/06/14 17:29, Tobias Klauser wrote:
> The prototype for kobjsize() is already defined in linux/mm.h which is
> included where kobjsize() is used.
>
> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Thanks. I have added this to the m68knommu git tree, for-next branch.
Regards
Greg
> ---
> arch/m68k/include/asm/pgtable_no.h | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/arch/m68k/include/asm/pgtable_no.h b/arch/m68k/include/asm/pgtable_no.h
> index c527fc2..11859b8 100644
> --- a/arch/m68k/include/asm/pgtable_no.h
> +++ b/arch/m68k/include/asm/pgtable_no.h
> @@ -46,11 +46,6 @@ static inline int pte_file(pte_t pte) { return 0; }
> #define ZERO_PAGE(vaddr) (virt_to_page(0))
>
> /*
> - * These would be in other places but having them here reduces the diffs.
> - */
> -extern unsigned int kobjsize(const void *objp);
> -
> -/*
> * No page table caches to initialise.
> */
> #define pgtable_cache_init() do { } while (0)
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-20 14:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-20 7:29 [PATCH] m68knommu: Remove unnecessary prototype for kobjsize() Tobias Klauser
2014-06-20 14:21 ` Greg Ungerer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®