commit | dd6e957a142d9582df766b5c6de2fbb6773241f2 | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Mon Jul 23 08:07:22 2012 +0000 |
committer | Peter Maydell <peter.maydell@linaro.org> | Mon Aug 13 12:45:46 2012 +0100 |
tree | fe85e5897149af233de4e6b3dbcafc45393a5cd9 | |
parent | 5f72307d90a00caabdf786d940418f810bd7c095 [diff] |
linux-user: Move target_to_host_errno_table[] setup out of ioctl loop The code to initialise the target_to_host_errno_table[] array was accidentally inside the loop through checking and initialising all the supported ioctls. This was harmless but meant that we reinitialised the array several hundred times on startup. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>