commit | 9df109bd74a955d09d5c12ad74252e39c629641a | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Mon Jul 23 18:54:00 2012 +0100 |
committer | Peter Maydell <peter.maydell@linaro.org> | Mon Jul 23 18:54:00 2012 +0100 |
tree | b7806dffa3cbc4fcfedbc3e29f26aa0c16a761eb | |
parent | 85db42e3df64f34a8dc81164f41c6a11bf57fd1a [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>