Patch for debug setcontext

Corey Minyard cminyard at
Fri Jul 30 00:54:18 EST 2004

Kumar Gala wrote:

 > I'm guessing, this should really be #if defined(CONFIG_4xx) ||
 > defined(CONFIG_BOOKE)
 > There are a number of similar cases later in this code as well.

That may be the case, but it is very confusing in entry.S.  The dbcr0
register seems to only be defined on 4xx processor, not on book E.
Look, for instance, at load_4xx_dbcr0:, it is only defined if 4xx is
enabled, not if book E is enabled.


** Sent via the linuxppc-dev mail list. See

More information about the Linuxppc-dev mailing list