commit | 1fe21bd1b6ca8b94c78fbf3666a1e8e0472355de | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Fri Mar 15 11:38:29 2013 -0700 |
committer | Nick Kralevich <nnk@google.com> | Fri Mar 15 11:59:03 2013 -0700 |
tree | d3fe55e4014a23cc1d6991ce3110b26a2d97de83 | |
parent | 1ae6ae2094fd0ab8c82ad1a347e7a8bd67d995e5 [diff] |
Never call app_main more than once Different kernels seem to handle ADDR_COMPAT_LAYOUT differently, sometimes passing it to its children, sometimes not. If it's not passed to its child successfully, we can end up in a restart loop. Instead of testing for the presence of ADDR_COMPAT_LAYOUT, use an environment variable instead, which is handled more predictably. Bug: 8392487 Change-Id: Ia531dd2abb4e1cd46f3430d844e644f53581f530