Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Remove useless wrappers of asm-generic/rmap.h

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>
Signed-off-by: Michal Marek <mmarek@suse.cz>

authored by

Paul Bolle and committed by
Michal Marek
459dac82 00cd7dc7

-17
-1
arch/openrisc/include/asm/Kbuild
··· 42 42 generic-y += poll.h 43 43 generic-y += posix_types.h 44 44 generic-y += resource.h 45 - generic-y += rmap.h 46 45 generic-y += scatterlist.h 47 46 generic-y += sections.h 48 47 generic-y += segment.h
-16
arch/xtensa/include/asm/rmap.h
··· 1 - /* 2 - * include/asm-xtensa/rmap.h 3 - * 4 - * This file is subject to the terms and conditions of the GNU General Public 5 - * License. See the file "COPYING" in the main directory of this archive 6 - * for more details. 7 - * 8 - * Copyright (C) 2001 - 2005 Tensilica Inc. 9 - */ 10 - 11 - #ifndef _XTENSA_RMAP_H 12 - #define _XTENSA_RMAP_H 13 - 14 - #include <asm-generic/rmap.h> 15 - 16 - #endif