Skip to content

Commit cbf1ef6

Browse files
sravnborgdavem330
authored andcommitted
sparc: use asm-generic version of types.h
In sparc headers we use the following pattern: #if defined(__sparc__) && defined(__arch64__) sparc64 specific stuff #else sparc32 specific stuff #endif In types.h this pattern was not followed and here we only checked for __sparc__ for no good reason. It was a left-over from long time ago. I checked other architectures - and most of them do not have any such checks. And all the recently merged versions uses the asm-generic version. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 6e51f85 commit cbf1ef6

3 files changed

Lines changed: 1 addition & 18 deletions

File tree

‎arch/sparc/include/asm/Kbuild‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ generic-y += local.h
1313
generic-y += module.h
1414
generic-y += serial.h
1515
generic-y += trace_clock.h
16+
generic-y += types.h
1617
generic-y += word-at-a-time.h

‎arch/sparc/include/uapi/asm/Kbuild‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ header-y += swab.h
4444
header-y += termbits.h
4545
header-y += termios.h
4646
header-y += traps.h
47-
header-y += types.h
4847
header-y += uctx.h
4948
header-y += unistd.h
5049
header-y += utrap.h

‎arch/sparc/include/uapi/asm/types.h‎

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)