File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 14
14
#define dma_outb outb
15
15
#define dma_inb inb
16
16
17
+ extern unsigned long pcxl_dma_start ;
18
+
17
19
/*
18
20
** DMA_CHUNK_SIZE is used by the SCSI mid-layer to break up
19
21
** (or rather not merge) DMAs into manageable chunks.
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ static struct proc_dir_entry * proc_gsc_root __read_mostly = NULL;
39
39
static unsigned long pcxl_used_bytes __read_mostly ;
40
40
static unsigned long pcxl_used_pages __read_mostly ;
41
41
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 */
43
43
static DEFINE_SPINLOCK (pcxl_res_lock );
44
44
static char * pcxl_res_map ;
45
45
static int pcxl_res_hint ;
Original file line number Diff line number Diff line change @@ -523,10 +523,6 @@ void mark_rodata_ro(void)
523
523
void * parisc_vmalloc_start __ro_after_init ;
524
524
EXPORT_SYMBOL (parisc_vmalloc_start );
525
525
526
- #ifdef CONFIG_PA11
527
- unsigned long pcxl_dma_start __ro_after_init ;
528
- #endif
529
-
530
526
void __init mem_init (void )
531
527
{
532
528
/* Do sanity checks on IPC (compat) structures */
You can’t perform that action at this time.
0 commit comments