[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20080412023100.GN9785@ZenIV.linux.org.uk>
Date: Sat, 12 Apr 2008 03:31:00 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: dhowells@...hat.com
Cc: linux-kernel@...r.kernel.org
Subject: [RFC] suspicious code in frv/kernel/traps.c
In insn_access_error():
info.si_addr = (void *) ((epcr0 & EPCR0_V) ? (epcr0 & EPCR0_PC) : __frame->pc);
In illegal_instruction():
info.si_addr = (void *) ((epcr0 & EPCR0_PC) ? (epcr0 & EPCR0_PC) : __frame->pc);
and with
#define EPCR0_V 0x00000001 /* register content validity indicator */
#define EPCR0_PC 0xfffffffc /* faulting instruction address */
it really smells like a braino in the latter...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists