# Re: \[PATCH v3 1/8\] arch: Use asm-generic/socket.h when possible

- From: Max Filippov \<jcmvbkbc@gmail.com\>
- Date: 2019-01-08 04:47:19 
- List: netdev
- Page: https://ratatoskr.run/netdev/2019/01/5477005
- Thread: https://ratatoskr.run/netdev/2019/01/5476977/t.md

```text
On Mon, Jan 7, 2019 at 7:28 PM Deepa Dinamani [ref] wrote:
>
> Many architectures maintain an arch specific copy of the
> file even though there are no differences with the asm-generic
> one. Allow these architectures to use the generic one instead.
>
> Signed-off-by: Deepa Dinamani <redacted>
> Cc: chris@zankel.net
> Cc: <redacted>
> Cc: <redacted>
> Cc: <redacted>
> Cc: <redacted>
> Cc: <redacted>
> Cc: <redacted>
> ---
>  arch/ia64/include/uapi/asm/Kbuild     |   1 +
>  arch/ia64/include/uapi/asm/socket.h   | 120 -------------------------
>  arch/s390/include/uapi/asm/Kbuild     |   1 +
>  arch/s390/include/uapi/asm/socket.h   | 117 ------------------------
>  arch/x86/include/uapi/asm/Kbuild      |   1 +
>  arch/x86/include/uapi/asm/socket.h    |   1 -
>  arch/xtensa/include/asm/Kbuild        |   1 +
>  arch/xtensa/include/uapi/asm/Kbuild   |   1 +
>  arch/xtensa/include/uapi/asm/socket.h | 122 --------------------------
>  9 files changed, 5 insertions(+), 360 deletions(-)
>  delete mode 100644 arch/ia64/include/uapi/asm/socket.h
>  delete mode 100644 arch/s390/include/uapi/asm/socket.h
>  delete mode 100644 arch/x86/include/uapi/asm/socket.h
>  delete mode 100644 arch/xtensa/include/uapi/asm/socket.h

For xtensa:
Acked-by: Max Filippov <jcmvbkbc@gmail.com>

-- 
Thanks.
-- Max
```
