]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6a616de86f07a4742d163a59bb2ff4a05a58e5c0
tree7ee94e92d1ecd23068bbc075666e2bf630ed2b6f
parent16b7dacc099b079cfa07a3a2b770b4a1ebc3bcd8
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