|
@@ -25,7 +25,8 @@ void *dma_alloc_coherent(struct device *dev, size_t size,
|
|
unsigned long addr;
|
|
unsigned long addr;
|
|
void *ret;
|
|
void *ret;
|
|
|
|
|
|
- printk("dma_alloc_coherent(%s,%zu,,%x)\n", dev_name(dev), size, gfp);
|
|
|
|
|
|
+ pr_debug("dma_alloc_coherent(%s,%zu,%x)\n",
|
|
|
|
+ dev ? dev_name(dev) : "?", size, gfp);
|
|
|
|
|
|
if (0xbe000000 - pci_sram_allocated >= size) {
|
|
if (0xbe000000 - pci_sram_allocated >= size) {
|
|
size = (size + 255) & ~255;
|
|
size = (size + 255) & ~255;
|