sparc32: drop test for sun4c in signal_32
Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
ef136bc91e
commit
3c23a7665b
@@ -217,10 +217,7 @@ segv:
|
|||||||
/* Checks if the fp is valid */
|
/* Checks if the fp is valid */
|
||||||
static inline int invalid_frame_pointer(void __user *fp, int fplen)
|
static inline int invalid_frame_pointer(void __user *fp, int fplen)
|
||||||
{
|
{
|
||||||
if ((((unsigned long) fp) & 7) ||
|
if ((((unsigned long) fp) & 7) || !__access_ok((unsigned long)fp, fplen))
|
||||||
!__access_ok((unsigned long)fp, fplen) ||
|
|
||||||
((sparc_cpu_model == sun4 || sparc_cpu_model == sun4c) &&
|
|
||||||
((unsigned long) fp < 0xe0000000 && (unsigned long) fp >= 0x20000000)))
|
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user