ia64/xen-unstable

changeset 4783:f1d19fea460b

bitkeeper revision 1.1389.5.25 (427b4bfb0hm1BJpfIuZivVfQQA7PkQ)

Kill a few dead definitions/declarations.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Fri May 06 10:50:35 2005 +0000 (2005-05-06)
parents 09a27a50ad98
children 39bfbd5ae9b8 4c2795394ccd
files xen/drivers/char/console.c xen/include/asm-x86/config.h
line diff
     1.1 --- a/xen/drivers/char/console.c	Fri May 06 09:51:46 2005 +0000
     1.2 +++ b/xen/drivers/char/console.c	Fri May 06 10:50:35 2005 +0000
     1.3 @@ -637,14 +637,6 @@ void panic(const char *fmt, ...)
     1.4      machine_restart(0);
     1.5  }
     1.6  
     1.7 -
     1.8 -void __out_of_line_bug(int line)
     1.9 -{
    1.10 -    printk("kernel BUG in header file at line %d\n", line);
    1.11 -    BUG();
    1.12 -    for ( ; ; ) ;
    1.13 -}
    1.14 -
    1.15  /*
    1.16   * Local variables:
    1.17   * mode: C
     2.1 --- a/xen/include/asm-x86/config.h	Fri May 06 09:51:46 2005 +0000
     2.2 +++ b/xen/include/asm-x86/config.h	Fri May 06 10:50:35 2005 +0000
     2.3 @@ -23,34 +23,6 @@
     2.4  #define CONFIG_ACPI 1
     2.5  #define CONFIG_ACPI_BOOT 1
     2.6  
     2.7 -//#define CONFIG_PCI 0
     2.8 -//#define CONFIG_PCI_DIRECT 0
     2.9 -#if defined(__i386__)
    2.10 -//#define CONFIG_PCI_BIOS 0
    2.11 -#endif
    2.12 -
    2.13 -#define CONFIG_IDE 1
    2.14 -#define CONFIG_BLK_DEV_IDE 1
    2.15 -#define CONFIG_BLK_DEV_IDEDMA 1
    2.16 -#define CONFIG_BLK_DEV_IDEPCI 1
    2.17 -#define CONFIG_IDEDISK_MULTI_MODE 1
    2.18 -#define CONFIG_IDEDISK_STROKE 1
    2.19 -#define CONFIG_IDEPCI_SHARE_IRQ 1
    2.20 -#define CONFIG_BLK_DEV_IDEDMA_PCI 1
    2.21 -#define CONFIG_IDEDMA_PCI_AUTO 1
    2.22 -#define CONFIG_IDEDMA_AUTO 1
    2.23 -#define CONFIG_IDEDMA_ONLYDISK 1
    2.24 -#define CONFIG_BLK_DEV_IDE_MODES 1
    2.25 -#define CONFIG_BLK_DEV_PIIX 1
    2.26 -
    2.27 -#define CONFIG_SCSI 1
    2.28 -#define CONFIG_SCSI_LOGGING 1
    2.29 -#define CONFIG_BLK_DEV_SD 1
    2.30 -#define CONFIG_SD_EXTRA_DEVS 40
    2.31 -#define CONFIG_SCSI_MULTI_LUN 1
    2.32 -
    2.33 -#define CONFIG_XEN_ATTENTION_KEY 1
    2.34 -
    2.35  #define HZ 100
    2.36  
    2.37  #define OPT_CONSOLE_STR "com1,vga"
    2.38 @@ -91,8 +63,6 @@
    2.39  
    2.40  #ifndef __ASSEMBLY__
    2.41  extern unsigned long _end; /* standard ELF symbol */
    2.42 -extern void __out_of_line_bug(int line) __attribute__((noreturn));
    2.43 -#define out_of_line_bug() __out_of_line_bug(__LINE__)
    2.44  #endif /* __ASSEMBLY__ */
    2.45  
    2.46  #define FORCE_CRASH() __asm__ __volatile__ ( "ud2" )