JANITOR: Remove include/linux/sys.h
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | JANITOR: Remove #include <linux/sys.h> from C6Xarch/ | +0 | 0 replies | |
| 2/14 | JANITOR: Remove #include <linux/sys.h> from CRISarch/ arch/ | +0 | 0 replies | |
| 3/14 | JANITOR: Remove #include <linux/sys.h> from FRVarch/ arch/ arch/ +2 more | +0 | 0 replies | |
| 4/14 | JANITOR: Remove #include <linux/sys.h> from H8300arch/ arch/ | +0 | 0 replies | |
| 5/14 | JANITOR: Remove #include <linux/sys.h> from MICROBLAZEarch/ arch/ arch/ | +0 | 0 replies | |
| 6/14 | JANITOR: Remove #include <linux/sys.h> from MIPSarch/ | +0 | 0 replies | |
| 7/14 | JANITOR: Remove #include <linux/sys.h> from MN10300arch/ arch/ arch/ +16 more | +0 | 0 replies | |
| 8/14 | JANITOR: Remove #include <linux/sys.h> from PARISCarch/ | +0 | 0 replies | |
| 9/14 | JANITOR: Remove #include <linux/sys.h> from POWERPCarch/ arch/ arch/ +3 more | +0 | 0 replies | |
| 10/14 | JANITOR: Remove #include <linux/sys.h> from SHarch/ arch/ arch/ +9 more | +0 | 0 replies | |
| 11/14 | JANITOR: Remove #include <linux/sys.h> from X86arch/ arch/ arch/ +2 more | +0 | 1 reply | |
| 11/14 | JANITOR: Remove #include <linux/sys.h> from UNICORE32arch/ | +0 | 0 replies | |
| 13/14 | JANITOR: Remove #include <linux/sys.h> from NETnet/ | +0 | 0 replies | |
| 14/14 | JANITOR: Delete include/linux/sys.hinclude/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/14] JANITOR: Remove include/linux/sys.h
Hello,
File include/linux/sys.h has a comment stating that the "file is no longer used or needed", but it is still included in multiple places under several architectures. It does contain bunch of #define's but those have been #ifdef'd out, and grepping did not show any uses of those #define's in the source tree outside this file.
The uses of the file seem partially be accidental remains of some old use, but almost all are in architecture specific code with only one outside in file net/core/pktgen.c. So this patchset has been divided to 14 parts, addressing 12 architectures (c6x, cris, frv, h8300, microblaze, mips, mn10300, parisc, powerpc, sh, unicore32 and x86) and the outlier in net and then the final patch removes the file itself. All patches can be applied invidually with the obvious exception of the last one which actually removes the file and should be last.
Diffstat:
arch/c6x/kernel/entry.S | 1 - arch/cris/arch-v10/kernel/entry.S | 1 - arch/cris/arch-v32/kernel/entry.S | 1 - arch/frv/kernel/cmode.S | 1 - arch/frv/kernel/entry-table.S | 1 - arch/frv/kernel/sleep.S | 1 - arch/frv/mm/tlb-flush.S | 1 - arch/frv/mm/tlb-miss.S | 1 - arch/h8300/kernel/entry.S | 1 - arch/h8300/kernel/syscalls.S | 1 - arch/microblaze/kernel/entry.S | 1 - arch/microblaze/kernel/misc.S | 1 - arch/microblaze/kernel/sys_microblaze.c | 1 - arch/mips/kernel/process.c | 1 - arch/mn10300/kernel/entry.S | 1 - arch/mn10300/kernel/gdb-io-serial-low.S | 1 - arch/mn10300/kernel/gdb-io-ttysm-low.S | 1 - arch/mn10300/kernel/gdb-low.S | 1 - arch/mn10300/kernel/mn10300-serial-low.S | 1 - arch/mn10300/kernel/mn10300-watchdog-low.S | 1 - arch/mn10300/kernel/profile-low.S | 1 - arch/mn10300/kernel/smp-low.S | 1 - arch/mn10300/kernel/switch_to.S | 1 - arch/mn10300/mm/cache-dbg-flush-by-reg.S | 1 - arch/mn10300/mm/cache-dbg-flush-by-tag.S | 1 - arch/mn10300/mm/cache-dbg-inv-by-reg.S | 1 - arch/mn10300/mm/cache-dbg-inv-by-tag.S | 1 - arch/mn10300/mm/cache-dbg-inv.S | 1 - arch/mn10300/mm/cache-flush-by-reg.S | 1 - arch/mn10300/mm/cache-flush-by-tag.S | 1 - arch/mn10300/mm/cache-inv-by-reg.S | 1 - arch/mn10300/mm/cache-inv-by-tag.S | 1 - arch/mn10300/mm/tlb-mn10300.S | 1 - arch/parisc/hpux/entry_hpux.S | 1 - arch/powerpc/kernel/entry_32.S | 1 - arch/powerpc/kernel/misc_32.S | 1 - arch/powerpc/kernel/misc_64.S | 1 - arch/powerpc/kernel/syscalls.c | 1 - arch/powerpc/lib/checksum_32.S | 1 - arch/powerpc/lib/checksum_64.S | 1 - arch/sh/boards/mach-ap325rxa/sdram.S | 1 - arch/sh/boards/mach-ecovec24/sdram.S | 1 - arch/sh/boards/mach-kfr2r09/sdram.S | 1 - arch/sh/boards/mach-migor/sdram.S | 1 - arch/sh/boards/mach-se/7724/sdram.S | 1 - arch/sh/kernel/cpu/sh3/entry.S | 1 - arch/sh/kernel/cpu/sh3/swsusp.S | 1 - arch/sh/kernel/cpu/sh5/entry.S | 1 - arch/sh/kernel/cpu/shmobile/sleep.S | 1 - arch/sh/kernel/debugtraps.S | 1 - arch/sh/kernel/syscalls_32.S | 1 - arch/sh/kernel/syscalls_64.S | 2 -- arch/unicore32/kernel/hibernate_asm.S | 1 - arch/x86/ia32/syscall_ia32.c | 1 - arch/x86/kernel/syscall_32.c | 1 - arch/x86/kernel/syscall_64.c | 1 - arch/x86/um/sys_call_table_32.c | 1 - arch/x86/um/sys_call_table_64.c | 1 - include/linux/sys.h | 29 ----------------------------- net/core/pktgen.c | 1 - 60 files changed, 89 deletions(-)
Compile tested only on x86, but should be obviously correct since the symbols are not defined or used anywhere.
The patchset is also available in my personal github tree as a branch janitor_retire_sys_h:
https://github.com/mikukkon/linux/tree/janitor_retire_sys_h.
--MiKu