]> git.hungrycats.org Git - linux/commit
[PATCH] Arrange for EFI-related code to be compiled away
authorAndrew Morton <akpm@osdl.org>
Mon, 19 Jan 2004 13:13:14 +0000 (05:13 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 19 Jan 2004 13:13:14 +0000 (05:13 -0800)
commitce65cade5848263c483eda1b7ffe9ed5a01a0c8f
treeb03a447bf8b90154f16dd143dfa75d03f11e05ba
parentd91341a903501da6249a38f0c35528f176b5f533
[PATCH] Arrange for EFI-related code to be compiled away

From: David Mosberger <davidm@napali.hpl.hp.com>

There is some EFI-related code which is present in the ia64 build but is not
needed: variable efi_enabled is always zero.

The patch fiddles with the efi_enabled definition to arrange for
`efi_enabled' to be constant zero or constant one in those situations where
this can be guaranteed.
arch/ia64/kernel/setup.c
include/linux/efi.h