Skip to content

Commit 8c4fa8b

Browse files
committed
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 <[email protected]>
1 parent ad77408 commit 8c4fa8b

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

arch/riscv/include/asm/Kbuild

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
generic-y += bugs.h
2-
generic-y += cacheflush.h
32
generic-y += checksum.h
43
generic-y += compat.h
54
generic-y += cputime.h
@@ -9,16 +8,11 @@ generic-y += dma.h
98
generic-y += dma-contiguous.h
109
generic-y += dma-mapping.h
1110
generic-y += emergency-restart.h
12-
generic-y += errno.h
1311
generic-y += exec.h
1412
generic-y += fb.h
15-
generic-y += fcntl.h
1613
generic-y += hardirq.h
1714
generic-y += hash.h
1815
generic-y += hw_irq.h
19-
generic-y += ioctl.h
20-
generic-y += ioctls.h
21-
generic-y += ipcbuf.h
2216
generic-y += irq_regs.h
2317
generic-y += irq_work.h
2418
generic-y += kdebug.h
@@ -27,34 +21,15 @@ generic-y += kvm_para.h
2721
generic-y += local.h
2822
generic-y += local64.h
2923
generic-y += mm-arch-hooks.h
30-
generic-y += mman.h
31-
generic-y += module.h
32-
generic-y += msgbuf.h
3324
generic-y += mutex.h
34-
generic-y += param.h
3525
generic-y += percpu.h
36-
generic-y += poll.h
37-
generic-y += posix_types.h
3826
generic-y += preempt.h
39-
generic-y += resource.h
4027
generic-y += scatterlist.h
4128
generic-y += sections.h
42-
generic-y += sembuf.h
4329
generic-y += serial.h
44-
generic-y += setup.h
45-
generic-y += shmbuf.h
4630
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
5531
generic-y += topology.h
5632
generic-y += trace_clock.h
57-
generic-y += types.h
5833
generic-y += unaligned.h
5934
generic-y += user.h
6035
generic-y += vga.h

0 commit comments

Comments
 (0)