Re: [PATCH] a more efficient BUG() macro

From: J . A . Magallon (
Date: Sat Feb 17 2001 - 09:22:40 EST

On 02.17 Hugh Dickins wrote:
> On Sat, 17 Feb 2001, Paul Gortmaker wrote:
> > I was poking around in a vmlinux the other day and was surprised at the
> > amount of repetitive crap text that was in there. For example, try:
> >
> > strings vmlinux|grep $PWD|wc -c
> >

If you try
strings vmlinux|grep /usr

you get a bunch of strings like:

One other couple of Kb. The problem is not that, but the string comes from:
..(line 110)
 * Temporary debugging check to catch old code using
 * unmapped ISA addresses. Will be removed in 2.4.
#if 1
  extern void *__io_virt_debug(unsigned long x, const char *file, int line);
  extern unsigned long __io_phys_debug(unsigned long x, const char *file, int li
  #define __io_virt(x) __io_virt_debug((unsigned long)(x), __FILE__, __LINE__)
//#define __io_phys(x) __io_phys_debug((unsigned long)(x), __FILE__, __LINE__)
  #define __io_virt(x) ((void *)(x))
//#define __io_phys(x) __pa(x)

As you see, it was not removed in 2.4...

J.A. Magallon                                                      $> cd pub                                          $> more beer

Linux werewolf 2.4.1-ac17 #1 SMP Sat Feb 17 01:47:56 CET 2001 i686

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Feb 23 2001 - 21:00:15 EST