changeset 3269:a4437ac3f034

Fixed compilation on non i686 archs
author nick
date Sun, 02 Dec 2001 13:48:42 +0000
parents 25f5e631f7f0
children d5d87c2c9157
files drivers/radeon/radeon_vid.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/drivers/radeon/radeon_vid.c	Sun Dec 02 12:57:44 2001 +0000
+++ b/drivers/radeon/radeon_vid.c	Sun Dec 02 13:48:42 2001 +0000
@@ -808,7 +808,9 @@
     len += sprintf(&radeon_param_buff[len],"Memory: %p:%x\n",radeon_mem_base,radeon_ram_size*0x100000);
     len += sprintf(&radeon_param_buff[len],"MMIO: %p\n",radeon_mmio_base);
     len += sprintf(&radeon_param_buff[len],"Overlay offset: %p\n",radeon_overlay_off);
+#ifdef CONFIG_MTRR
     len += sprintf(&radeon_param_buff[len],"Tune MTRR: %s\n",mtrr?"on":"off");
+#endif
     len += sprintf(&radeon_param_buff[len],"Swapped fourcc: %s\n",swap_fourcc?"on":"off");
     len += sprintf(&radeon_param_buff[len],"Last fourcc: %s\n\n",fourcc_format_name(besr.fourcc));
     len += sprintf(&radeon_param_buff[len],"Configurable stuff:\n");