* [PATCH] nds32: remove redundant kernel-space generic-y
@ 2018-12-16 14:14 Masahiro Yamada
2019-01-03 0:37 ` Masahiro Yamada
0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2018-12-16 14:14 UTC (permalink / raw)
To: Greentime Hu, Vincent Chen
Cc: Masahiro Yamada, Stephen Boyd, linux-kernel, Arnd Bergmann,
Geert Uytterhoeven, Nickhu
This commit removes redundant generic-y defines in
arch/nds32/include/asm/Kbuild.
[1] It is redundant to define the same generic-y in both
arch/$(ARCH)/include/asm/Kbuild and
arch/$(ARCH)/include/uapi/asm/Kbuild.
Remove the following generic-y:
bitsperlong.h
bpf_perf_event.h
errno.h
fcntl.h
ioctl.h
ioctls.h
mman.h
shmbuf.h
stat.h
[2] It is redundant to define generic-y when arch-specific
implementation exists in arch/$(ARCH)/include/asm/*.h
Remove the following generic-y:
ftrace.h
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
arch/nds32/include/asm/Kbuild | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/arch/nds32/include/asm/Kbuild b/arch/nds32/include/asm/Kbuild
index f81b633..64ceff7 100644
--- a/arch/nds32/include/asm/Kbuild
+++ b/arch/nds32/include/asm/Kbuild
@@ -1,8 +1,6 @@
generic-y += asm-offsets.h
generic-y += atomic.h
generic-y += bitops.h
-generic-y += bitsperlong.h
-generic-y += bpf_perf_event.h
generic-y += bug.h
generic-y += bugs.h
generic-y += checksum.h
@@ -16,17 +14,12 @@ generic-y += div64.h
generic-y += dma.h
generic-y += dma-mapping.h
generic-y += emergency-restart.h
-generic-y += errno.h
generic-y += exec.h
generic-y += export.h
generic-y += fb.h
-generic-y += fcntl.h
-generic-y += ftrace.h
generic-y += gpio.h
generic-y += hardirq.h
generic-y += hw_irq.h
-generic-y += ioctl.h
-generic-y += ioctls.h
generic-y += irq.h
generic-y += irq_regs.h
generic-y += irq_work.h
@@ -38,7 +31,6 @@ generic-y += limits.h
generic-y += local.h
generic-y += local64.h
generic-y += mm-arch-hooks.h
-generic-y += mman.h
generic-y += parport.h
generic-y += pci.h
generic-y += percpu.h
@@ -46,9 +38,7 @@ generic-y += preempt.h
generic-y += sections.h
generic-y += segment.h
generic-y += serial.h
-generic-y += shmbuf.h
generic-y += sizes.h
-generic-y += stat.h
generic-y += switch_to.h
generic-y += timex.h
generic-y += topology.h
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] nds32: remove redundant kernel-space generic-y
2018-12-16 14:14 [PATCH] nds32: remove redundant kernel-space generic-y Masahiro Yamada
@ 2019-01-03 0:37 ` Masahiro Yamada
0 siblings, 0 replies; 2+ messages in thread
From: Masahiro Yamada @ 2019-01-03 0:37 UTC (permalink / raw)
To: Greentime Hu, Vincent Chen
Cc: Stephen Boyd, Linux Kernel Mailing List, Arnd Bergmann,
Geert Uytterhoeven, Nickhu
On Sun, Dec 16, 2018 at 11:49 PM Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
>
> This commit removes redundant generic-y defines in
> arch/nds32/include/asm/Kbuild.
>
> [1] It is redundant to define the same generic-y in both
> arch/$(ARCH)/include/asm/Kbuild and
> arch/$(ARCH)/include/uapi/asm/Kbuild.
>
> Remove the following generic-y:
>
> bitsperlong.h
> bpf_perf_event.h
> errno.h
> fcntl.h
> ioctl.h
> ioctls.h
> mman.h
> shmbuf.h
> stat.h
>
> [2] It is redundant to define generic-y when arch-specific
> implementation exists in arch/$(ARCH)/include/asm/*.h
>
> Remove the following generic-y:
>
> ftrace.h
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
Applied to linux-kbuild.
>
> arch/nds32/include/asm/Kbuild | 10 ----------
> 1 file changed, 10 deletions(-)
>
> diff --git a/arch/nds32/include/asm/Kbuild b/arch/nds32/include/asm/Kbuild
> index f81b633..64ceff7 100644
> --- a/arch/nds32/include/asm/Kbuild
> +++ b/arch/nds32/include/asm/Kbuild
> @@ -1,8 +1,6 @@
> generic-y += asm-offsets.h
> generic-y += atomic.h
> generic-y += bitops.h
> -generic-y += bitsperlong.h
> -generic-y += bpf_perf_event.h
> generic-y += bug.h
> generic-y += bugs.h
> generic-y += checksum.h
> @@ -16,17 +14,12 @@ generic-y += div64.h
> generic-y += dma.h
> generic-y += dma-mapping.h
> generic-y += emergency-restart.h
> -generic-y += errno.h
> generic-y += exec.h
> generic-y += export.h
> generic-y += fb.h
> -generic-y += fcntl.h
> -generic-y += ftrace.h
> generic-y += gpio.h
> generic-y += hardirq.h
> generic-y += hw_irq.h
> -generic-y += ioctl.h
> -generic-y += ioctls.h
> generic-y += irq.h
> generic-y += irq_regs.h
> generic-y += irq_work.h
> @@ -38,7 +31,6 @@ generic-y += limits.h
> generic-y += local.h
> generic-y += local64.h
> generic-y += mm-arch-hooks.h
> -generic-y += mman.h
> generic-y += parport.h
> generic-y += pci.h
> generic-y += percpu.h
> @@ -46,9 +38,7 @@ generic-y += preempt.h
> generic-y += sections.h
> generic-y += segment.h
> generic-y += serial.h
> -generic-y += shmbuf.h
> generic-y += sizes.h
> -generic-y += stat.h
> generic-y += switch_to.h
> generic-y += timex.h
> generic-y += topology.h
> --
> 2.7.4
>
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-01-03 0:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-16 14:14 [PATCH] nds32: remove redundant kernel-space generic-y Masahiro Yamada
2019-01-03 0:37 ` Masahiro Yamada
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).