[IA64] fix number of bytes zeroed by sys_fw_init() in arch/ia64/hp/sim/boot/fw-emu.c
authorRoel Kluin <12o3l@tiscali.nl>
Tue, 6 Nov 2007 21:13:53 +0000 (22:13 +0100)
committerTony Luck <tony.luck@intel.com>
Tue, 6 Nov 2007 21:27:18 +0000 (13:27 -0800)
commitb17de3619553d004be3fe3c58bf6a63cbec3303b
treeb34434d960825fb35d48fc2060489ef1b8a5b7d0
parente3ad42be1ee37ab277ef30555b772e0c803f3b69
[IA64] fix number of bytes zeroed by sys_fw_init() in arch/ia64/hp/sim/boot/fw-emu.c

The sizeof a pointer is constant, we want the sizeof what is pointed to.
Zero out 'sizeof(*efi_systab)' bytes of the efi_system_table_t pointer
'efi_systab' instead.

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/hp/sim/boot/fw-emu.c