a20: try to avoid io_delay if A20 is already enabled
authorH. Peter Anvin <hpa@linux.intel.com>
Tue, 21 Apr 2009 23:08:07 +0000 (16:08 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 21 Apr 2009 23:08:07 +0000 (16:08 -0700)
commit8e1b32e8f5f28e49eff7a0cf39e7d2d31e379b1c
tree16733882e862aa806c94952e6b8f9223b6e823bc
parent31937531087fb47aa4a3a218e8114b32176f8683
a20: try to avoid io_delay if A20 is already enabled

We have at least the possibility to avoid io_delay if A20 is already
enabled.  Thus, give it a try.  Furthermore, when calling enable_a20,
always try the zero-work case first, since we may have been enabled by
a previous call.  This should improve performance of the rm/pm
ping-pong.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
core/bcopy32.inc