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
c89cb7a0
Commit
c89cb7a0
authored
Feb 23, 2003
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: add some bluetooth ioctls and clean up some warnings
parent
e4840b0e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
2 deletions
+22
-2
arch/ppc64/kernel/ioctl32.c
arch/ppc64/kernel/ioctl32.c
+21
-0
arch/ppc64/kernel/syscalls.c
arch/ppc64/kernel/syscalls.c
+0
-1
arch/ppc64/kernel/time.c
arch/ppc64/kernel/time.c
+0
-1
arch/ppc64/oprofile/timer_int.c
arch/ppc64/oprofile/timer_int.c
+1
-0
No files found.
arch/ppc64/kernel/ioctl32.c
View file @
c89cb7a0
...
...
@@ -99,6 +99,7 @@
#include <net/bluetooth/bluetooth.h>
#include <net/bluetooth/hci.h>
#include <net/bluetooth/rfcomm.h>
#include <linux/usb.h>
#include <linux/usbdevice_fs.h>
...
...
@@ -3633,6 +3634,15 @@ static int do_blkgetsize64(unsigned int fd, unsigned int cmd,
return
sys_ioctl
(
fd
,
BLKGETSIZE64
,
arg
);
}
/* Bluetooth ioctls */
#define HCIUARTSETPROTO _IOW('U', 200, int)
#define HCIUARTGETPROTO _IOR('U', 201, int)
#define BNEPCONNADD _IOW('B', 200, int)
#define BNEPCONNDEL _IOW('B', 201, int)
#define BNEPGETCONNLIST _IOR('B', 210, int)
#define BNEPGETCONNINFO _IOR('B', 211, int)
struct
ioctl_trans
{
unsigned
long
cmd
;
unsigned
long
handler
;
...
...
@@ -4241,6 +4251,17 @@ COMPATIBLE_IOCTL(HCISETLINKMODE),
COMPATIBLE_IOCTL
(
HCISETACLMTU
),
COMPATIBLE_IOCTL
(
HCISETSCOMTU
),
COMPATIBLE_IOCTL
(
HCIINQUIRY
),
COMPATIBLE_IOCTL
(
HCIUARTSETPROTO
),
COMPATIBLE_IOCTL
(
HCIUARTGETPROTO
),
COMPATIBLE_IOCTL
(
RFCOMMCREATEDEV
),
COMPATIBLE_IOCTL
(
RFCOMMRELEASEDEV
),
COMPATIBLE_IOCTL
(
RFCOMMGETDEVLIST
),
COMPATIBLE_IOCTL
(
RFCOMMGETDEVINFO
),
COMPATIBLE_IOCTL
(
RFCOMMSTEALDLC
),
COMPATIBLE_IOCTL
(
BNEPCONNADD
),
COMPATIBLE_IOCTL
(
BNEPCONNDEL
),
COMPATIBLE_IOCTL
(
BNEPGETCONNLIST
),
COMPATIBLE_IOCTL
(
BNEPGETCONNINFO
),
COMPATIBLE_IOCTL
(
PCIIOC_CONTROLLER
),
COMPATIBLE_IOCTL
(
PCIIOC_MMAP_IS_IO
),
COMPATIBLE_IOCTL
(
PCIIOC_MMAP_IS_MEM
),
...
...
arch/ppc64/kernel/syscalls.c
View file @
c89cb7a0
...
...
@@ -44,7 +44,6 @@
#include <asm/time.h>
extern
unsigned
long
wall_jiffies
;
#define USEC_PER_SEC (1000000)
void
check_bugs
(
void
)
...
...
arch/ppc64/kernel/time.c
View file @
c89cb7a0
...
...
@@ -77,7 +77,6 @@ static unsigned long first_settimeofday = 1;
#endif
#define XSEC_PER_SEC (1024*1024)
#define USEC_PER_SEC (1000000)
unsigned
long
tb_ticks_per_jiffy
;
unsigned
long
tb_ticks_per_usec
;
...
...
arch/ppc64/oprofile/timer_int.c
View file @
c89cb7a0
...
...
@@ -13,6 +13,7 @@
#include <linux/smp.h>
#include <linux/irq.h>
#include <linux/oprofile.h>
#include <linux/profile.h>
#include <asm/ptrace.h>
static
int
timer_notify
(
struct
notifier_block
*
self
,
unsigned
long
val
,
void
*
data
)
...
...
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