diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-01-02 20:10:36 -0500 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-01-05 19:46:51 -0500 |
commit | 8c4fa8b8d48326353afaf6934edd5f1cc49ee90b (patch) | |
tree | 58b1bcd8e8d40941f1bde4a80a8d70a96be1ee58 | |
parent | ad774086356da92a477a87916613d96f4b36005c (diff) |
riscv: remove redundant kernel-space generic-y
This commit removes redundant generic-y defines in
arch/riscv/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:
errno.h
fcntl.h
ioctl.h
ioctls.h
ipcbuf.h
mman.h
msgbuf.h
param.h
poll.h
posix_types.h
resource.h
sembuf.h
setup.h
shmbuf.h
signal.h
socket.h
sockios.h
stat.h
statfs.h
swab.h
termbits.h
termios.h
types.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:
cacheflush.h
module.h
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r-- | arch/riscv/include/asm/Kbuild | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/riscv/include/asm/Kbuild b/arch/riscv/include/asm/Kbuild index 6a646d9ea780..cccd12cf27d4 100644 --- a/arch/riscv/include/asm/Kbuild +++ b/arch/riscv/include/asm/Kbuild | |||
@@ -1,5 +1,4 @@ | |||
1 | generic-y += bugs.h | 1 | generic-y += bugs.h |
2 | generic-y += cacheflush.h | ||
3 | generic-y += checksum.h | 2 | generic-y += checksum.h |
4 | generic-y += compat.h | 3 | generic-y += compat.h |
5 | generic-y += cputime.h | 4 | generic-y += cputime.h |
@@ -9,16 +8,11 @@ generic-y += dma.h | |||
9 | generic-y += dma-contiguous.h | 8 | generic-y += dma-contiguous.h |
10 | generic-y += dma-mapping.h | 9 | generic-y += dma-mapping.h |
11 | generic-y += emergency-restart.h | 10 | generic-y += emergency-restart.h |
12 | generic-y += errno.h | ||
13 | generic-y += exec.h | 11 | generic-y += exec.h |
14 | generic-y += fb.h | 12 | generic-y += fb.h |
15 | generic-y += fcntl.h | ||
16 | generic-y += hardirq.h | 13 | generic-y += hardirq.h |
17 | generic-y += hash.h | 14 | generic-y += hash.h |
18 | generic-y += hw_irq.h | 15 | generic-y += hw_irq.h |
19 | generic-y += ioctl.h | ||
20 | generic-y += ioctls.h | ||
21 | generic-y += ipcbuf.h | ||
22 | generic-y += irq_regs.h | 16 | generic-y += irq_regs.h |
23 | generic-y += irq_work.h | 17 | generic-y += irq_work.h |
24 | generic-y += kdebug.h | 18 | generic-y += kdebug.h |
@@ -27,34 +21,15 @@ generic-y += kvm_para.h | |||
27 | generic-y += local.h | 21 | generic-y += local.h |
28 | generic-y += local64.h | 22 | generic-y += local64.h |
29 | generic-y += mm-arch-hooks.h | 23 | generic-y += mm-arch-hooks.h |
30 | generic-y += mman.h | ||
31 | generic-y += module.h | ||
32 | generic-y += msgbuf.h | ||
33 | generic-y += mutex.h | 24 | generic-y += mutex.h |
34 | generic-y += param.h | ||
35 | generic-y += percpu.h | 25 | generic-y += percpu.h |
36 | generic-y += poll.h | ||
37 | generic-y += posix_types.h | ||
38 | generic-y += preempt.h | 26 | generic-y += preempt.h |
39 | generic-y += resource.h | ||
40 | generic-y += scatterlist.h | 27 | generic-y += scatterlist.h |
41 | generic-y += sections.h | 28 | generic-y += sections.h |
42 | generic-y += sembuf.h | ||
43 | generic-y += serial.h | 29 | generic-y += serial.h |
44 | generic-y += setup.h | ||
45 | generic-y += shmbuf.h | ||
46 | generic-y += shmparam.h | 30 | generic-y += shmparam.h |
47 | generic-y += signal.h | ||
48 | generic-y += socket.h | ||
49 | generic-y += sockios.h | ||
50 | generic-y += stat.h | ||
51 | generic-y += statfs.h | ||
52 | generic-y += swab.h | ||
53 | generic-y += termbits.h | ||
54 | generic-y += termios.h | ||
55 | generic-y += topology.h | 31 | generic-y += topology.h |
56 | generic-y += trace_clock.h | 32 | generic-y += trace_clock.h |
57 | generic-y += types.h | ||
58 | generic-y += unaligned.h | 33 | generic-y += unaligned.h |
59 | generic-y += user.h | 34 | generic-y += user.h |
60 | generic-y += vga.h | 35 | generic-y += vga.h |