kernel-ark/arch/sparc
Sam Ravnborg fffeeb4137 sparc: fix warnings in userspace header byteorder.h
Fix following warnings in byteorder.h:

byteorder.h:4: include of <linux/types.h> is preferred over <asm/types.h>
byteorder.h:9: leaks CONFIG_SPARC32 to userspace where it is not valid
byteorder.h:13: leaks CONFIG_SPARC64 to userspace where it is not valid
byteorder.h:14: found __[us]{8,16,32,64} type without #include <linux/types.h>
byteorder.h:47: leaks CONFIG_SPARC64 to userspace where it is not valid

- changed to use include <linux/types.h> as suggested
- use preprocessor defined symbols to distingush between 32 and 64 bit

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-01-02 21:31:58 -08:00
..
boot sparc,sparc64: unify boot/ 2008-12-04 09:17:21 -08:00
configs sparc,sparc64: unify Makefile 2008-12-04 09:17:16 -08:00
include/asm sparc: fix warnings in userspace header byteorder.h 2009-01-02 21:31:58 -08:00
kernel sparc: add '32' suffix to reg_window, sigcontext, __siginfo_t 2009-01-02 19:32:59 -08:00
lib sparc: Commonize memcmp assembler. 2008-12-09 04:09:07 -08:00
math-emu sparc64: unify math-emu 2008-12-04 09:16:56 -08:00
mm sparc: drop SUN_IO 2008-12-27 00:55:45 -08:00
oprofile sparc64: Provide oprofile pseudo-NMI on Niagara. 2008-12-04 09:17:10 -08:00
prom sparc: Use sparc64 version of prom/printf.c 2008-12-08 01:00:14 -08:00
Kconfig sparc: delete unused config symbols 2009-01-02 18:14:04 -08:00
Kconfig.debug sparc: unify Kconfig.debug 2008-12-04 09:16:48 -08:00
Makefile sparc: unify kernel/init_task 2008-12-04 13:28:09 -08:00