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
nexedi
linux
Commits
175df1ee
Commit
175df1ee
authored
Feb 17, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://linux-mh.bkbits.net/bluetooth-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
c143c545
41740fe8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
arch/arm/mach-ixp2000/core.c
arch/arm/mach-ixp2000/core.c
+3
-0
arch/arm/mach-ixp2000/ixdp2x00.c
arch/arm/mach-ixp2000/ixdp2x00.c
+1
-1
arch/arm/mm/consistent.c
arch/arm/mm/consistent.c
+5
-3
No files found.
arch/arm/mach-ixp2000/core.c
View file @
175df1ee
...
@@ -160,6 +160,9 @@ void __init ixp2000_map_io(void)
...
@@ -160,6 +160,9 @@ void __init ixp2000_map_io(void)
iotable_init
(
ixp2000_small_io_desc
,
ARRAY_SIZE
(
ixp2000_small_io_desc
));
iotable_init
(
ixp2000_small_io_desc
,
ARRAY_SIZE
(
ixp2000_small_io_desc
));
iotable_init
(
ixp2000_large_io_desc
,
ARRAY_SIZE
(
ixp2000_large_io_desc
));
iotable_init
(
ixp2000_large_io_desc
,
ARRAY_SIZE
(
ixp2000_large_io_desc
));
early_serial_setup
(
&
ixp2000_serial_port
);
early_serial_setup
(
&
ixp2000_serial_port
);
/* Set slowport to 8-bit mode. */
ixp2000_reg_write
(
IXP2000_SLOWPORT_FRM
,
1
);
}
}
/*************************************************************************
/*************************************************************************
...
...
arch/arm/mach-ixp2000/ixdp2x00.c
View file @
175df1ee
...
@@ -91,7 +91,7 @@ static void ixdp2x00_irq_unmask(unsigned int irq)
...
@@ -91,7 +91,7 @@ static void ixdp2x00_irq_unmask(unsigned int irq)
unsigned
long
dummy
;
unsigned
long
dummy
;
static
struct
slowport_cfg
old_cfg
;
static
struct
slowport_cfg
old_cfg
;
#ifdef CONF
GI
_ARCH_IXDP2400
#ifdef CONF
IG
_ARCH_IXDP2400
if
(
machine_is_ixdp2400
())
if
(
machine_is_ixdp2400
())
ixp2000_acquire_slowport
(
&
slowport_cpld_cfg
,
&
old_cfg
);
ixp2000_acquire_slowport
(
&
slowport_cpld_cfg
,
&
old_cfg
);
#endif
#endif
...
...
arch/arm/mm/consistent.c
View file @
175df1ee
...
@@ -284,13 +284,15 @@ static int dma_mmap(struct device *dev, struct vm_area_struct *vma,
...
@@ -284,13 +284,15 @@ static int dma_mmap(struct device *dev, struct vm_area_struct *vma,
spin_unlock_irqrestore
(
&
consistent_lock
,
flags
);
spin_unlock_irqrestore
(
&
consistent_lock
,
flags
);
if
(
c
)
{
if
(
c
)
{
unsigned
long
off
=
vma
->
vm_pgoff
;
kern_size
=
(
c
->
vm_end
-
c
->
vm_start
)
>>
PAGE_SHIFT
;
kern_size
=
(
c
->
vm_end
-
c
->
vm_start
)
>>
PAGE_SHIFT
;
if
(
vma
->
vm_pg
off
<
kern_size
&&
if
(
off
<
kern_size
&&
user_size
<=
(
kern_size
-
vma
->
vm_pg
off
))
{
user_size
<=
(
kern_size
-
off
))
{
vma
->
vm_flags
|=
VM_RESERVED
;
vma
->
vm_flags
|=
VM_RESERVED
;
ret
=
remap_pfn_range
(
vma
,
vma
->
vm_start
,
ret
=
remap_pfn_range
(
vma
,
vma
->
vm_start
,
page_to_pfn
(
c
->
vm_pages
),
page_to_pfn
(
c
->
vm_pages
)
+
off
,
user_size
,
vma
->
vm_page_prot
);
user_size
,
vma
->
vm_page_prot
);
}
}
}
}
...
...
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