]> git.baikalelectronics.ru Git - kernel.git/commit
Define zero-page offset 0x1e4 as a scratch field, and use it
authorH. Peter Anvin <hpa@zytor.com>
Wed, 11 Jul 2007 19:18:33 +0000 (12:18 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 12 Jul 2007 17:55:54 +0000 (10:55 -0700)
commit33315e82f6c0b595291c47af0f0dc0d33ad5fece
tree78836556d59e28c335d2ba5be347c06f4298432e
parent797536c1085cf7db2d66be1544d5bef271437c36
Define zero-page offset 0x1e4 as a scratch field, and use it

The relocatable kernel code needs a scratch field for the decompressor
to determine its own location.  It was using a location inside
struct screen_info; reserve a free location and document it as scratch
instead.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/i386/zero-page.txt
arch/i386/boot/compressed/head.S
arch/x86_64/boot/compressed/head.S