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/cpumask.h

frv and xtensa both have a header (in their include/asm directories)
that are thin wrappers around asm-generic/cpumask.h. These wrappers are
useless, since that header doesn't exist. They are also unused (all
files including asm/cpumask.h are x86 specific).

hexagon and openrisc generate similar headers at build time (using a
generic-y entry in include/asm/Kbuild). These generated headers are
useless and unused too.

Remove these headers and generic-y entries.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Acked-by: Richard Kuo <rkuo@codeaurora.org>
Acked-by: David Howells <dhowells@redhat.com> [FRV]
Signed-off-by: Michal Marek <mmarek@suse.cz>

authored by

Paul Bolle and committed by
Michal Marek
da870585 f8f5701b

-24
-6
arch/frv/include/asm/cpumask.h
··· 1 - #ifndef _ASM_CPUMASK_H 2 - #define _ASM_CPUMASK_H 3 - 4 - #include <asm-generic/cpumask.h> 5 - 6 - #endif /* _ASM_CPUMASK_H */
-1
arch/hexagon/include/asm/Kbuild
··· 7 7 generic-y += auxvec.h 8 8 generic-y += bug.h 9 9 generic-y += bugs.h 10 - generic-y += cpumask.h 11 10 generic-y += cputime.h 12 11 generic-y += current.h 13 12 generic-y += device.h
-1
arch/openrisc/include/asm/Kbuild
··· 13 13 generic-y += checksum.h 14 14 generic-y += cmpxchg.h 15 15 generic-y += cmpxchg-local.h 16 - generic-y += cpumask.h 17 16 generic-y += cputime.h 18 17 generic-y += current.h 19 18 generic-y += device.h
-16
arch/xtensa/include/asm/cpumask.h
··· 1 - /* 2 - * include/asm-xtensa/cpumask.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_CPUMASK_H 12 - #define _XTENSA_CPUMASK_H 13 - 14 - #include <asm-generic/cpumask.h> 15 - 16 - #endif /* _XTENSA_CPUMASK_H */