[Qemu-devel] Re: [PATCH 8/8] x86_64 config: fix compile for CONFIG_FDC=n

2011-01-13 Thread David Ahern
On 01/13/11 10:04, Paolo Bonzini wrote: > On 01/13/2011 07:34 AM, David Ahern wrote: >> >> +#ifdef CONFIG_FDC >> /* floppy type */ >> >> fd0 = fdctrl_get_drive_type(floppy_controller, 0); >> @@ -403,6 +408,7 @@ void pc_cmos_init(ram_addr_t ram_size, ram_addr_t >> above_4g_mem_size, >>

[Qemu-devel] Re: [PATCH 8/8] x86_64 config: fix compile for CONFIG_FDC=n

2011-01-13 Thread Paolo Bonzini
On 01/13/2011 07:34 AM, David Ahern wrote: +#ifdef CONFIG_FDC /* floppy type */ fd0 = fdctrl_get_drive_type(floppy_controller, 0); @@ -403,6 +408,7 @@ void pc_cmos_init(ram_addr_t ram_size, ram_addr_t above_4g_mem_size, val |= 0x02; /* FPU is there */ val |= 0x04; /* PS