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
77ac98e8
Commit
77ac98e8
authored
Sep 22, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ALSA]: Fix ioctl32 build on sparc64.
parent
b7207394
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
sound/core/ioctl32/ioctl32.c
sound/core/ioctl32/ioctl32.c
+3
-0
sound/core/ioctl32/ioctl32.h
sound/core/ioctl32/ioctl32.h
+4
-0
No files found.
sound/core/ioctl32/ioctl32.c
View file @
77ac98e8
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
#include <sound/driver.h>
#include <sound/driver.h>
#include <linux/smp_lock.h>
#include <linux/smp_lock.h>
#include <linux/time.h>
#include <linux/time.h>
#include <linux/init.h>
#include <sound/core.h>
#include <sound/core.h>
#include <sound/control.h>
#include <sound/control.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>
...
@@ -393,6 +394,8 @@ static int __init snd_ioctl32_init(void)
...
@@ -393,6 +394,8 @@ static int __init snd_ioctl32_init(void)
return
err
;
return
err
;
}
}
#endif
#endif
return
0
;
}
}
module_init
(
snd_ioctl32_init
)
module_init
(
snd_ioctl32_init
)
...
...
sound/core/ioctl32/ioctl32.h
View file @
77ac98e8
...
@@ -26,6 +26,10 @@
...
@@ -26,6 +26,10 @@
#ifndef __ALSA_IOCTL32_H
#ifndef __ALSA_IOCTL32_H
#define __ALSA_IOCTL32_H
#define __ALSA_IOCTL32_H
#ifndef A
#define A(__x) ((unsigned long)(__x))
#endif
#define TO_PTR(x) A(x)
#define TO_PTR(x) A(x)
#define COPY(x) (dst->x = src->x)
#define COPY(x) (dst->x = src->x)
...
...
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