m68k: use addr_limit checking for m68k CPUs that do no support address spaces
authorGreg Ungerer <gerg@uclinux.org>
Mon, 17 Oct 2011 07:31:26 +0000 (17:31 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Fri, 30 Dec 2011 00:20:22 +0000 (10:20 +1000)
commitfeb1ee759522eb67e7733fe5b59bd17420f4d2d8
tree7ee94e92d1ecd23068bbc075666e2bf630ed2b6f
parente08d703cc2ab6e47dbd10a74eb029f7dfa93d71d
m68k: use addr_limit checking for m68k CPUs that do no support address spaces

The ColdFire CPU family, and the original 68000, do not support separate
address spaces like the other 680x0 CPU types. Modify the set_fs()/get_fs()
functions and macros to use a thread_info addr_limit for address space
checking. This is pretty much what all other architectures that do not
support separate setable address spaces do.

Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Matt Waddel <mwaddel@yahoo.com>
Acked-by: Kurt Mahan <kmahan@xmission.com>
arch/m68k/include/asm/segment.h
arch/m68k/include/asm/thread_info.h