Skip to content

Commit a4c59c9

Browse files
committed
parisc: dma: Add prototype for pcxl_dma_start
Signed-off-by: Helge Deller <deller@gmx.de>
1 parent 388d5bd commit a4c59c9

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

arch/parisc/include/asm/dma.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
#define dma_outb outb
1515
#define dma_inb inb
1616

17+
extern unsigned long pcxl_dma_start;
18+
1719
/*
1820
** DMA_CHUNK_SIZE is used by the SCSI mid-layer to break up
1921
** (or rather not merge) DMAs into manageable chunks.

arch/parisc/kernel/pci-dma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ static struct proc_dir_entry * proc_gsc_root __read_mostly = NULL;
3939
static unsigned long pcxl_used_bytes __read_mostly;
4040
static unsigned long pcxl_used_pages __read_mostly;
4141

42-
extern unsigned long pcxl_dma_start; /* Start of pcxl dma mapping area */
42+
unsigned long pcxl_dma_start __ro_after_init; /* pcxl dma mapping area start */
4343
static DEFINE_SPINLOCK(pcxl_res_lock);
4444
static char *pcxl_res_map;
4545
static int pcxl_res_hint;

arch/parisc/mm/init.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -523,10 +523,6 @@ void mark_rodata_ro(void)
523523
void *parisc_vmalloc_start __ro_after_init;
524524
EXPORT_SYMBOL(parisc_vmalloc_start);
525525

526-
#ifdef CONFIG_PA11
527-
unsigned long pcxl_dma_start __ro_after_init;
528-
#endif
529-
530526
void __init mem_init(void)
531527
{
532528
/* Do sanity checks on IPC (compat) structures */

0 commit comments

Comments
 (0)