Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
a4c59c9a
Commit
a4c59c9a
authored
Aug 10, 2023
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: dma: Add prototype for pcxl_dma_start
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
388d5bdb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
arch/parisc/include/asm/dma.h
arch/parisc/include/asm/dma.h
+2
-0
arch/parisc/kernel/pci-dma.c
arch/parisc/kernel/pci-dma.c
+1
-1
arch/parisc/mm/init.c
arch/parisc/mm/init.c
+0
-4
No files found.
arch/parisc/include/asm/dma.h
View file @
a4c59c9a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#define dma_outb outb
#define dma_outb outb
#define dma_inb inb
#define dma_inb inb
extern
unsigned
long
pcxl_dma_start
;
/*
/*
** DMA_CHUNK_SIZE is used by the SCSI mid-layer to break up
** DMA_CHUNK_SIZE is used by the SCSI mid-layer to break up
** (or rather not merge) DMAs into manageable chunks.
** (or rather not merge) DMAs into manageable chunks.
...
...
arch/parisc/kernel/pci-dma.c
View file @
a4c59c9a
...
@@ -39,7 +39,7 @@ static struct proc_dir_entry * proc_gsc_root __read_mostly = NULL;
...
@@ -39,7 +39,7 @@ static struct proc_dir_entry * proc_gsc_root __read_mostly = NULL;
static
unsigned
long
pcxl_used_bytes
__read_mostly
;
static
unsigned
long
pcxl_used_bytes
__read_mostly
;
static
unsigned
long
pcxl_used_pages
__read_mostly
;
static
unsigned
long
pcxl_used_pages
__read_mostly
;
extern
unsigned
long
pcxl_dma_start
;
/* Start of pcxl dma mapping area
*/
unsigned
long
pcxl_dma_start
__ro_after_init
;
/* pcxl dma mapping area start
*/
static
DEFINE_SPINLOCK
(
pcxl_res_lock
);
static
DEFINE_SPINLOCK
(
pcxl_res_lock
);
static
char
*
pcxl_res_map
;
static
char
*
pcxl_res_map
;
static
int
pcxl_res_hint
;
static
int
pcxl_res_hint
;
...
...
arch/parisc/mm/init.c
View file @
a4c59c9a
...
@@ -523,10 +523,6 @@ void mark_rodata_ro(void)
...
@@ -523,10 +523,6 @@ void mark_rodata_ro(void)
void
*
parisc_vmalloc_start
__ro_after_init
;
void
*
parisc_vmalloc_start
__ro_after_init
;
EXPORT_SYMBOL
(
parisc_vmalloc_start
);
EXPORT_SYMBOL
(
parisc_vmalloc_start
);
#ifdef CONFIG_PA11
unsigned
long
pcxl_dma_start
__ro_after_init
;
#endif
void
__init
mem_init
(
void
)
void
__init
mem_init
(
void
)
{
{
/* Do sanity checks on IPC (compat) structures */
/* Do sanity checks on IPC (compat) structures */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment