[03/24] cris/uapi: Use Kbuild logic to provide <asm/types.h>
diff mbox series

Message ID 1385369734-24893-4-git-send-email-geert@linux-m68k.org
State New, archived
Headers show
Series
  • [01/24] uapi: Add missing _UAPI prefix to <asm-generic/types.h> include guard
Related show

Commit Message

Geert Uytterhoeven Nov. 25, 2013, 8:55 a.m. UTC
Uapi <asm-generic/types.h> just includes <asm-generic/int-ll64.h>

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: linux-cris-kernel@axis.com
---
 arch/cris/include/uapi/asm/Kbuild  |    3 ++-
 arch/cris/include/uapi/asm/types.h |    1 -
 2 files changed, 2 insertions(+), 2 deletions(-)
 delete mode 100644 arch/cris/include/uapi/asm/types.h

Comments

Jesper Nilsson Nov. 25, 2013, 9:03 a.m. UTC | #1
On Mon, Nov 25, 2013 at 09:55:13AM +0100, Geert Uytterhoeven wrote:
> Uapi <asm-generic/types.h> just includes <asm-generic/int-ll64.h>
> 
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Cc: Mikael Starvik <starvik@axis.com>

Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>

> Cc: linux-cris-kernel@axis.com
> ---
>  arch/cris/include/uapi/asm/Kbuild  |    3 ++-
>  arch/cris/include/uapi/asm/types.h |    1 -
>  2 files changed, 2 insertions(+), 2 deletions(-)
>  delete mode 100644 arch/cris/include/uapi/asm/types.h
> 
> diff --git a/arch/cris/include/uapi/asm/Kbuild b/arch/cris/include/uapi/asm/Kbuild
> index 7d47b366ad82..4d925e6cce72 100644
> --- a/arch/cris/include/uapi/asm/Kbuild
> +++ b/arch/cris/include/uapi/asm/Kbuild
> @@ -1,6 +1,8 @@
>  # UAPI Header export list
>  include include/uapi/asm-generic/Kbuild.asm
>  
> +generic-y += types.h
> +
>  header-y += arch-v10/
>  header-y += arch-v32/
>  header-y += auxvec.h
> @@ -35,5 +37,4 @@ header-y += swab.h
>  header-y += sync_serial.h
>  header-y += termbits.h
>  header-y += termios.h
> -header-y += types.h
>  header-y += unistd.h
> diff --git a/arch/cris/include/uapi/asm/types.h b/arch/cris/include/uapi/asm/types.h
> deleted file mode 100644
> index 9ec9d4c5ac4d..000000000000
> --- a/arch/cris/include/uapi/asm/types.h
> +++ /dev/null
> @@ -1 +0,0 @@
> -#include <asm-generic/int-ll64.h>
> -- 
> 1.7.9.5

/^JN - Jesper Nilsson

Patch
diff mbox series

diff --git a/arch/cris/include/uapi/asm/Kbuild b/arch/cris/include/uapi/asm/Kbuild
index 7d47b366ad82..4d925e6cce72 100644
--- a/arch/cris/include/uapi/asm/Kbuild
+++ b/arch/cris/include/uapi/asm/Kbuild
@@ -1,6 +1,8 @@ 
 # UAPI Header export list
 include include/uapi/asm-generic/Kbuild.asm
 
+generic-y += types.h
+
 header-y += arch-v10/
 header-y += arch-v32/
 header-y += auxvec.h
@@ -35,5 +37,4 @@  header-y += swab.h
 header-y += sync_serial.h
 header-y += termbits.h
 header-y += termios.h
-header-y += types.h
 header-y += unistd.h
diff --git a/arch/cris/include/uapi/asm/types.h b/arch/cris/include/uapi/asm/types.h
deleted file mode 100644
index 9ec9d4c5ac4d..000000000000
--- a/arch/cris/include/uapi/asm/types.h
+++ /dev/null
@@ -1 +0,0 @@ 
-#include <asm-generic/int-ll64.h>