aboutsummaryrefslogtreecommitdiffstats
path: root/xen/drivers/video
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2012-09-12 20:54:23 +0100
committerKeir Fraser <keir@xen.org>2012-09-12 20:54:23 +0100
commit4e11d97bd9eb1d8b3aaf5458a303d4da917af59b (patch)
treef9828a4a4fdc9bfcbfeb3f8193c9b6b10cca8ad4 /xen/drivers/video
parenta9c02a0d888864daeca191d25601725c5177ec40 (diff)
downloadxen-4e11d97bd9eb1d8b3aaf5458a303d4da917af59b.tar.gz
xen-4e11d97bd9eb1d8b3aaf5458a303d4da917af59b.tar.bz2
xen-4e11d97bd9eb1d8b3aaf5458a303d4da917af59b.zip
drivers: Remove some CONFIG_X86 ifdef'ery.
Not quite all, but a great deal was to specifically allow ia64 support to be retrofitted to x86 platform code. Since we no longer support ia64 we can happily remove the ifdefs. Any new platform which wanted to share this code would likely need a different set of ifdefs in any case, making it a brand new porting effort. Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/drivers/video')
-rw-r--r--xen/drivers/video/vesa.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/xen/drivers/video/vesa.c b/xen/drivers/video/vesa.c
index 91b6001dec..e24eb97c4e 100644
--- a/xen/drivers/video/vesa.c
+++ b/xen/drivers/video/vesa.c
@@ -151,8 +151,6 @@ void __init vesa_init(void)
xfree(line_len);
}
-#if defined(CONFIG_X86)
-
#include <asm/mtrr.h>
static unsigned int vesa_mtrr;
@@ -191,12 +189,6 @@ static void lfb_flush(void)
__asm__ __volatile__ ("sfence" : : : "memory");
}
-#else /* !defined(CONFIG_X86) */
-
-#define lfb_flush() ((void)0)
-
-#endif
-
void __init vesa_endboot(bool_t keep)
{
if ( keep )