]> git.hungrycats.org Git - linux/commitdiff
[PATCH] sn: Kill nag.h
authorAndrew Morton <akpm@osdl.org>
Mon, 19 Jan 2004 02:45:07 +0000 (18:45 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 19 Jan 2004 02:45:07 +0000 (18:45 -0800)
From: Pat Gefre <pfg@sgi.com>

Kill nag.h

arch/ia64/sn/io/machvec/pci_dma.c
include/asm-ia64/sn/nag.h [deleted file]

index 425d3ada8fec0839425f50c0458b38eebfdf68a2..dfea56ff24607904c69e2a51eeca72f6e1679a1f 100644 (file)
@@ -29,7 +29,6 @@
 #include <asm/sn/types.h>
 #include <asm/sn/alenlist.h>
 #include <asm/sn/pci/pci_bus_cvlink.h>
-#include <asm/sn/nag.h>
 
 /*
  * For ATE allocations
diff --git a/include/asm-ia64/sn/nag.h b/include/asm-ia64/sn/nag.h
deleted file mode 100644 (file)
index 10a15a8..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (c) 2001-2003 Silicon Graphics, Inc.  All rights reserved.
-*/
-
-
-#ifndef _ASM_IA64_SN_NAG_H
-#define _ASM_IA64_SN_NAG_H
-
-
-#define NAG(mesg...) \
-do {                                                                           \
-       static unsigned int how_broken = 1;                                     \
-       static unsigned int threshold = 1;                                      \
-       if (how_broken == threshold) {                                          \
-               if (threshold < 10000)                                          \
-                       threshold *= 10;                                        \
-               if (how_broken > 1)                                             \
-                       printk(KERN_WARNING "%u times: ", how_broken);          \
-               else                                                            \
-                       printk(KERN_WARNING);                                   \
-               printk(mesg);                                                   \
-       }                                                                       \
-       how_broken++;                                                           \
-} while (0)
-
-
-#endif /* _ASM_IA64_SN_NAG_H */