Skip to content

Commit

Permalink
sparc: use asm-generic version of types.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sam Ravnborg authored and David S. Miller committed Mar 31, 2013
1 parent 6e51f85 commit cbf1ef6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 deletions.
1 change: 1 addition & 0 deletions arch/sparc/include/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ generic-y += local.h
generic-y += module.h
generic-y += serial.h
generic-y += trace_clock.h
generic-y += types.h
generic-y += word-at-a-time.h
1 change: 0 additions & 1 deletion arch/sparc/include/uapi/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ header-y += swab.h
header-y += termbits.h
header-y += termios.h
header-y += traps.h
header-y += types.h
header-y += uctx.h
header-y += unistd.h
header-y += utrap.h
Expand Down
17 changes: 0 additions & 17 deletions arch/sparc/include/uapi/asm/types.h

This file was deleted.

0 comments on commit cbf1ef6

Please sign in to comment.