summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/Kbuild
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2013-03-31 09:01:47 +0200
committerDavid S. Miller <davem@davemloft.net>2013-04-01 01:29:13 +0200
commitcbf1ef6b3345d2cc7e62407eec6a6f72a8b1346f (patch)
tree4e727849dd21a499960620a60ec3f6b76c38422b /arch/sparc/include/asm/Kbuild
parentbbc_i2c: fix section mismatch warning (diff)
downloadlinux-cbf1ef6b3345d2cc7e62407eec6a6f72a8b1346f.tar.xz
linux-cbf1ef6b3345d2cc7e62407eec6a6f72a8b1346f.zip
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>
Diffstat (limited to 'arch/sparc/include/asm/Kbuild')
-rw-r--r--arch/sparc/include/asm/Kbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/Kbuild b/arch/sparc/include/asm/Kbuild
index f73884bb286a..ff18e3cfb6b1 100644
--- a/arch/sparc/include/asm/Kbuild
+++ b/arch/sparc/include/asm/Kbuild
@@ -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