]> git.baikalelectronics.ru Git - kernel.git/commit
[SPARC64]: Loosen checks in exception table handling.
authorDavid S. Miller <davem@davemloft.net>
Wed, 27 Feb 2008 01:30:02 +0000 (17:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Feb 2008 01:30:02 +0000 (17:30 -0800)
commitcc6d4db80f53bff5b3762fcd9d58a7db4fcde0df
treef1d9e4d5d9b1b05a99b9a29085a471bea474d40a
parentc11af4dbd65f78a234f21d338084e3e763a332e1
[SPARC64]: Loosen checks in exception table handling.

Some parts of the kernel now do things like do *_user() accesses while
set_fs(KERNEL_DS) that fault on purpose.

See, for example, the code added by changeset
dda3a43bdd964d176d414219c90698077c9acba5 ("futex: runtime enable pi
and robust functionality").

That trips up the ASI sanity checking we make in do_kernel_fault().

Just remove it for now.  Maybe we can add it back later with an added
conditional which looks at the current get_fs() value.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/mm/fault.c