[XEN] Remove bogus BUG_ON() which breaks the build with gcc 4.2.0.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 10 Jan 2007 11:09:21 +0000 (11:09 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 10 Jan 2007 11:09:21 +0000 (11:09 +0000)
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/common/symbols.c

index 496f231f8ba05a25679d73ac58c0d79005ed566c..fba6cf0867dac6bc667cf3858ffbca29e3fc5f96 100644 (file)
@@ -94,9 +94,6 @@ const char *symbols_lookup(unsigned long addr,
     unsigned long i, low, high, mid;
     unsigned long symbol_end = 0;
 
-    /* This kernel should never had been booted. */
-    BUG_ON(!symbols_addresses);
-
     namebuf[KSYM_NAME_LEN] = 0;
     namebuf[0] = 0;