Browse Source

CRIS: UAPI: use generic types.h

CRIS' types.h is functionally identical to the asm-generic version.

Effective diff:

 +#ifndef _ASM_GENERIC_TYPES_H
 +#define _ASM_GENERIC_TYPES_H
 +
  #include <asm-generic/int-ll64.h>
 +
 +#endif

Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Rabin Vincent 10 năm trước cách đây
mục cha
commit
20ae247399

+ 1 - 0
arch/cris/include/asm/Kbuild

@@ -41,5 +41,6 @@ generic-y += sockios.h
 generic-y += statfs.h
 generic-y += topology.h
 generic-y += trace_clock.h
+generic-y += types.h
 generic-y += vga.h
 generic-y += xor.h

+ 0 - 12
arch/cris/include/asm/types.h

@@ -1,12 +0,0 @@
-#ifndef _ETRAX_TYPES_H
-#define _ETRAX_TYPES_H
-
-#include <uapi/asm/types.h>
-
-/*
- * These aren't exported outside the kernel to avoid name space clashes
- */
-
-#define BITS_PER_LONG 32
-
-#endif

+ 0 - 1
arch/cris/include/uapi/asm/types.h

@@ -1 +0,0 @@
-#include <asm-generic/int-ll64.h>