Commit 12a5d67e authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[AGPGART] Move debugging macros to header so they can be used in other parts of agpgart.

parent 0ddeeb01
......@@ -30,10 +30,17 @@
#include <asm/agp.h> /* for flush_agp_cache() */
extern struct agp_bridge_data *agp_bridge;
#define PFX "agpgart: "
//#define AGP_DEBUG 1
#ifdef AGP_DEBUG
#define DBG(x,y...) printk (KERN_DEBUG PFX ": %s: " x "\n", __FUNCTION__ , ## y)
#else
#define DBG(x,y...) do { } while (0)
#endif
extern struct agp_bridge_data *agp_bridge;
enum aper_size_type {
U8_APER_SIZE,
U16_APER_SIZE,
......
......@@ -40,14 +40,6 @@
#include <asm/pgtable.h>
#include "agp.h"
//#define DEBUG
#ifdef DEBUG
#define DBG(x,y...) printk (KERN_DEBUG "agpgart: %s: " x "\n", __FUNCTION__ , ## y)
#else
#define DBG(x,y...) do { } while (0)
#endif
static struct agp_front_data agp_fe;
static agp_memory *agp_find_mem_by_key(int key)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment