* [PATCH 3/3] Remove useless wrappers of asm-generic/rmap.h
@ 2012-06-21 19:21 Paul Bolle
2012-06-28 9:31 ` Michal Marek
0 siblings, 1 reply; 2+ messages in thread
From: Paul Bolle @ 2012-06-21 19:21 UTC (permalink / raw)
To: Michal Marek; +Cc: linux-kbuild, Jonas Bonn, linux, Chris Zankel, linux-kernel
xtensa has a header (in its include/asm directory) that is a thin
wrapper around asm-generic/rmap.h. This wrapper is useless, since that
header doesn't exist. It is also unused (no file includes asm/rmap.h).
openrisc generates a similar header at build time (using a generic-y
entry in include/asm/Kbuild). This generated header is useless and
unused too.
Remove this header and this generic-y entry.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
arch/openrisc/include/asm/Kbuild | 1 -
arch/xtensa/include/asm/rmap.h | 16 ----------------
2 files changed, 0 insertions(+), 17 deletions(-)
delete mode 100644 arch/xtensa/include/asm/rmap.h
diff --git a/arch/openrisc/include/asm/Kbuild b/arch/openrisc/include/asm/Kbuild
index 08484f7..0922959 100644
--- a/arch/openrisc/include/asm/Kbuild
+++ b/arch/openrisc/include/asm/Kbuild
@@ -42,7 +42,6 @@ generic-y += percpu.h
generic-y += poll.h
generic-y += posix_types.h
generic-y += resource.h
-generic-y += rmap.h
generic-y += scatterlist.h
generic-y += sections.h
generic-y += segment.h
diff --git a/arch/xtensa/include/asm/rmap.h b/arch/xtensa/include/asm/rmap.h
deleted file mode 100644
index 649588b..0000000
--- a/arch/xtensa/include/asm/rmap.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * include/asm-xtensa/rmap.h
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License. See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 2001 - 2005 Tensilica Inc.
- */
-
-#ifndef _XTENSA_RMAP_H
-#define _XTENSA_RMAP_H
-
-#include <asm-generic/rmap.h>
-
-#endif
--
1.7.7.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 3/3] Remove useless wrappers of asm-generic/rmap.h
2012-06-21 19:21 [PATCH 3/3] Remove useless wrappers of asm-generic/rmap.h Paul Bolle
@ 2012-06-28 9:31 ` Michal Marek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Marek @ 2012-06-28 9:31 UTC (permalink / raw)
To: Paul Bolle; +Cc: linux-kbuild, Jonas Bonn, linux, Chris Zankel, linux-kernel
On 21.6.2012 21:21, Paul Bolle wrote:
> xtensa has a header (in its include/asm directory) that is a thin
> wrapper around asm-generic/rmap.h. This wrapper is useless, since that
> header doesn't exist. It is also unused (no file includes asm/rmap.h).
>
> openrisc generates a similar header at build time (using a generic-y
> entry in include/asm/Kbuild). This generated header is useless and
> unused too.
>
> Remove this header and this generic-y entry.
>
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Applied to kbuild.git#trivial.
Michal
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-06-28 9:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-21 19:21 [PATCH 3/3] Remove useless wrappers of asm-generic/rmap.h Paul Bolle
2012-06-28 9:31 ` Michal Marek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).