]> git.hungrycats.org Git - linux/commit
[PATCH] x86: remove hard-coded numbers from ptr_ok()
authorRoland Dreier <roland@topspin.com>
Tue, 24 Aug 2004 04:26:31 +0000 (21:26 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 24 Aug 2004 04:26:31 +0000 (21:26 -0700)
commit7b4731ff24098e9c96853aa9aeaaddf0f4f0dbbb
tree45067a8cef889be2ae6a38fbfa5603c9e1fb4f4a
parenta12d582227c865d9e5d5cd90a3120482b76e000b
[PATCH] x86: remove hard-coded numbers from ptr_ok()

Looks like arch/i386/kernel/doublefault.c is one place in the code that
hardcodes the assumption that PAGE_OFFSET == 0xC0000000.  Here's a patch
that fixes that.

Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/doublefault.c