]> 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)
commitd3be7ea5169045bba59de440f6a862f6ca7768e9
tree7ee94e92d1ecd23068bbc075666e2bf630ed2b6f
parentbc09f19710a11b043d6013331c38fe37655848ce
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