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
5e115975
Commit
5e115975
authored
Jun 04, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://kernel.bkbits.net/davem/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux
parents
84d58710
98e6f109
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
33 additions
and
45 deletions
+33
-45
arch/alpha/kernel/core_marvel.c
arch/alpha/kernel/core_marvel.c
+2
-2
arch/alpha/kernel/core_titan.c
arch/alpha/kernel/core_titan.c
+2
-2
arch/alpha/kernel/systbls.S
arch/alpha/kernel/systbls.S
+9
-0
drivers/block/cciss.c
drivers/block/cciss.c
+2
-2
drivers/block/ll_rw_blk.c
drivers/block/ll_rw_blk.c
+6
-35
include/asm-alpha/agp_backend.h
include/asm-alpha/agp_backend.h
+2
-2
include/asm-alpha/unistd.h
include/asm-alpha/unistd.h
+10
-1
include/linux/blkdev.h
include/linux/blkdev.h
+0
-1
No files found.
arch/alpha/kernel/core_marvel.c
View file @
5e115975
...
@@ -980,7 +980,7 @@ marvel_agp_configure(alpha_agp_info *agp)
...
@@ -980,7 +980,7 @@ marvel_agp_configure(alpha_agp_info *agp)
}
}
static
int
static
int
marvel_agp_bind_memory
(
alpha_agp_info
*
agp
,
off_t
pg_start
,
agp_memory
*
mem
)
marvel_agp_bind_memory
(
alpha_agp_info
*
agp
,
off_t
pg_start
,
struct
agp_memory
*
mem
)
{
{
struct
marvel_agp_aperture
*
aper
=
agp
->
aperture
.
sysdata
;
struct
marvel_agp_aperture
*
aper
=
agp
->
aperture
.
sysdata
;
return
iommu_bind
(
aper
->
arena
,
aper
->
pg_start
+
pg_start
,
return
iommu_bind
(
aper
->
arena
,
aper
->
pg_start
+
pg_start
,
...
@@ -988,7 +988,7 @@ marvel_agp_bind_memory(alpha_agp_info *agp, off_t pg_start, agp_memory *mem)
...
@@ -988,7 +988,7 @@ marvel_agp_bind_memory(alpha_agp_info *agp, off_t pg_start, agp_memory *mem)
}
}
static
int
static
int
marvel_agp_unbind_memory
(
alpha_agp_info
*
agp
,
off_t
pg_start
,
agp_memory
*
mem
)
marvel_agp_unbind_memory
(
alpha_agp_info
*
agp
,
off_t
pg_start
,
struct
agp_memory
*
mem
)
{
{
struct
marvel_agp_aperture
*
aper
=
agp
->
aperture
.
sysdata
;
struct
marvel_agp_aperture
*
aper
=
agp
->
aperture
.
sysdata
;
return
iommu_unbind
(
aper
->
arena
,
aper
->
pg_start
+
pg_start
,
return
iommu_unbind
(
aper
->
arena
,
aper
->
pg_start
+
pg_start
,
...
...
arch/alpha/kernel/core_titan.c
View file @
5e115975
...
@@ -679,7 +679,7 @@ titan_agp_configure(alpha_agp_info *agp)
...
@@ -679,7 +679,7 @@ titan_agp_configure(alpha_agp_info *agp)
}
}
static
int
static
int
titan_agp_bind_memory
(
alpha_agp_info
*
agp
,
off_t
pg_start
,
agp_memory
*
mem
)
titan_agp_bind_memory
(
alpha_agp_info
*
agp
,
off_t
pg_start
,
struct
agp_memory
*
mem
)
{
{
struct
titan_agp_aperture
*
aper
=
agp
->
aperture
.
sysdata
;
struct
titan_agp_aperture
*
aper
=
agp
->
aperture
.
sysdata
;
return
iommu_bind
(
aper
->
arena
,
aper
->
pg_start
+
pg_start
,
return
iommu_bind
(
aper
->
arena
,
aper
->
pg_start
+
pg_start
,
...
@@ -687,7 +687,7 @@ titan_agp_bind_memory(alpha_agp_info *agp, off_t pg_start, agp_memory *mem)
...
@@ -687,7 +687,7 @@ titan_agp_bind_memory(alpha_agp_info *agp, off_t pg_start, agp_memory *mem)
}
}
static
int
static
int
titan_agp_unbind_memory
(
alpha_agp_info
*
agp
,
off_t
pg_start
,
agp_memory
*
mem
)
titan_agp_unbind_memory
(
alpha_agp_info
*
agp
,
off_t
pg_start
,
struct
agp_memory
*
mem
)
{
{
struct
titan_agp_aperture
*
aper
=
agp
->
aperture
.
sysdata
;
struct
titan_agp_aperture
*
aper
=
agp
->
aperture
.
sysdata
;
return
iommu_unbind
(
aper
->
arena
,
aper
->
pg_start
+
pg_start
,
return
iommu_unbind
(
aper
->
arena
,
aper
->
pg_start
+
pg_start
,
...
...
arch/alpha/kernel/systbls.S
View file @
5e115975
...
@@ -433,6 +433,15 @@ sys_call_table:
...
@@ -433,6 +433,15 @@ sys_call_table:
.
quad
sys_set_tid_address
.
quad
sys_set_tid_address
.
quad
sys_restart_syscall
.
quad
sys_restart_syscall
.
quad
sys_fadvise64
.
quad
sys_fadvise64
.
quad
sys_timer_create
.
quad
sys_timer_settime
/*
415
*/
.
quad
sys_timer_gettime
.
quad
sys_timer_getoverrun
.
quad
sys_timer_delete
.
quad
sys_clock_settime
.
quad
sys_clock_gettime
/*
420
*/
.
quad
sys_clock_getres
.
quad
sys_clock_nanosleep
.
size
sys_call_table
,
.
-
sys_call_table
.
size
sys_call_table
,
.
-
sys_call_table
.
type
sys_call_table
,
@
object
.
type
sys_call_table
,
@
object
...
...
drivers/block/cciss.c
View file @
5e115975
...
@@ -1961,7 +1961,7 @@ static void do_cciss_request(request_queue_t *q)
...
@@ -1961,7 +1961,7 @@ static void do_cciss_request(request_queue_t *q)
goto
queue
;
goto
queue
;
startio:
startio:
__
blk_stop_queue
(
q
);
blk_stop_queue
(
q
);
start_io
(
h
);
start_io
(
h
);
}
}
...
@@ -2021,8 +2021,8 @@ static irqreturn_t do_cciss_intr(int irq, void *dev_id, struct pt_regs *regs)
...
@@ -2021,8 +2021,8 @@ static irqreturn_t do_cciss_intr(int irq, void *dev_id, struct pt_regs *regs)
/*
/*
* See if we can queue up some more IO
* See if we can queue up some more IO
*/
*/
spin_unlock_irqrestore
(
CCISS_LOCK
(
h
->
ctlr
),
flags
);
blk_start_queue
(
&
h
->
queue
);
blk_start_queue
(
&
h
->
queue
);
spin_unlock_irqrestore
(
CCISS_LOCK
(
h
->
ctlr
),
flags
);
return
IRQ_HANDLED
;
return
IRQ_HANDLED
;
}
}
/*
/*
...
...
drivers/block/ll_rw_blk.c
View file @
5e115975
...
@@ -391,12 +391,6 @@ void blk_queue_dma_alignment(request_queue_t *q, int mask)
...
@@ -391,12 +391,6 @@ void blk_queue_dma_alignment(request_queue_t *q, int mask)
q
->
dma_alignment
=
mask
;
q
->
dma_alignment
=
mask
;
}
}
void
blk_queue_assign_lock
(
request_queue_t
*
q
,
spinlock_t
*
lock
)
{
spin_lock_init
(
lock
);
q
->
queue_lock
=
lock
;
}
/**
/**
* blk_queue_find_tag - find a request by its tag and queue
* blk_queue_find_tag - find a request by its tag and queue
*
*
...
@@ -1076,30 +1070,12 @@ static void blk_unplug_timeout(unsigned long data)
...
@@ -1076,30 +1070,12 @@ static void blk_unplug_timeout(unsigned long data)
* blk_start_queue() will clear the stop flag on the queue, and call
* blk_start_queue() will clear the stop flag on the queue, and call
* the request_fn for the queue if it was in a stopped state when
* the request_fn for the queue if it was in a stopped state when
* entered. Also see blk_stop_queue(). Must not be called from driver
* entered. Also see blk_stop_queue(). Must not be called from driver
* request function due to recursion issues.
* request function due to recursion issues.
Queue lock must be held.
**/
**/
void
blk_start_queue
(
request_queue_t
*
q
)
void
blk_start_queue
(
request_queue_t
*
q
)
{
{
if
(
test_and_clear_bit
(
QUEUE_FLAG_STOPPED
,
&
q
->
queue_flags
))
{
if
(
test_and_clear_bit
(
QUEUE_FLAG_STOPPED
,
&
q
->
queue_flags
))
unsigned
long
flags
;
schedule_work
(
&
q
->
unplug_work
);
spin_lock_irqsave
(
q
->
queue_lock
,
flags
);
if
(
!
elv_queue_empty
(
q
))
q
->
request_fn
(
q
);
spin_unlock_irqrestore
(
q
->
queue_lock
,
flags
);
}
}
/**
* __blk_stop_queue: see blk_stop_queue()
*
* Description:
* Like blk_stop_queue(), but queue_lock must be held
**/
void
__blk_stop_queue
(
request_queue_t
*
q
)
{
blk_remove_plug
(
q
);
set_bit
(
QUEUE_FLAG_STOPPED
,
&
q
->
queue_flags
);
}
}
/**
/**
...
@@ -1114,15 +1090,12 @@ void __blk_stop_queue(request_queue_t *q)
...
@@ -1114,15 +1090,12 @@ void __blk_stop_queue(request_queue_t *q)
* or if it simply chooses not to queue more I/O at one point, it can
* or if it simply chooses not to queue more I/O at one point, it can
* call this function to prevent the request_fn from being called until
* call this function to prevent the request_fn from being called until
* the driver has signalled it's ready to go again. This happens by calling
* the driver has signalled it's ready to go again. This happens by calling
* blk_start_queue() to restart queue operations.
* blk_start_queue() to restart queue operations.
Queue lock must be held.
**/
**/
void
blk_stop_queue
(
request_queue_t
*
q
)
void
blk_stop_queue
(
request_queue_t
*
q
)
{
{
unsigned
long
flags
;
blk_remove_plug
(
q
);
set_bit
(
QUEUE_FLAG_STOPPED
,
&
q
->
queue_flags
);
spin_lock_irqsave
(
q
->
queue_lock
,
flags
);
__blk_stop_queue
(
q
);
spin_unlock_irqrestore
(
q
->
queue_lock
,
flags
);
}
}
/**
/**
...
@@ -2364,7 +2337,6 @@ EXPORT_SYMBOL(blk_rq_map_sg);
...
@@ -2364,7 +2337,6 @@ EXPORT_SYMBOL(blk_rq_map_sg);
EXPORT_SYMBOL
(
blk_nohighio
);
EXPORT_SYMBOL
(
blk_nohighio
);
EXPORT_SYMBOL
(
blk_dump_rq_flags
);
EXPORT_SYMBOL
(
blk_dump_rq_flags
);
EXPORT_SYMBOL
(
submit_bio
);
EXPORT_SYMBOL
(
submit_bio
);
EXPORT_SYMBOL
(
blk_queue_assign_lock
);
EXPORT_SYMBOL
(
blk_phys_contig_segment
);
EXPORT_SYMBOL
(
blk_phys_contig_segment
);
EXPORT_SYMBOL
(
blk_hw_contig_segment
);
EXPORT_SYMBOL
(
blk_hw_contig_segment
);
EXPORT_SYMBOL
(
blk_get_request
);
EXPORT_SYMBOL
(
blk_get_request
);
...
@@ -2383,7 +2355,6 @@ EXPORT_SYMBOL(blk_queue_invalidate_tags);
...
@@ -2383,7 +2355,6 @@ EXPORT_SYMBOL(blk_queue_invalidate_tags);
EXPORT_SYMBOL
(
blk_start_queue
);
EXPORT_SYMBOL
(
blk_start_queue
);
EXPORT_SYMBOL
(
blk_stop_queue
);
EXPORT_SYMBOL
(
blk_stop_queue
);
EXPORT_SYMBOL
(
__blk_stop_queue
);
EXPORT_SYMBOL
(
blk_run_queue
);
EXPORT_SYMBOL
(
blk_run_queue
);
EXPORT_SYMBOL
(
blk_run_queues
);
EXPORT_SYMBOL
(
blk_run_queues
);
...
...
include/asm-alpha/agp_backend.h
View file @
5e115975
...
@@ -33,8 +33,8 @@ struct alpha_agp_ops {
...
@@ -33,8 +33,8 @@ struct alpha_agp_ops {
int
(
*
setup
)(
alpha_agp_info
*
);
int
(
*
setup
)(
alpha_agp_info
*
);
void
(
*
cleanup
)(
alpha_agp_info
*
);
void
(
*
cleanup
)(
alpha_agp_info
*
);
int
(
*
configure
)(
alpha_agp_info
*
);
int
(
*
configure
)(
alpha_agp_info
*
);
int
(
*
bind
)(
alpha_agp_info
*
,
off_t
,
agp_memory
*
);
int
(
*
bind
)(
alpha_agp_info
*
,
off_t
,
struct
agp_memory
*
);
int
(
*
unbind
)(
alpha_agp_info
*
,
off_t
,
agp_memory
*
);
int
(
*
unbind
)(
alpha_agp_info
*
,
off_t
,
struct
agp_memory
*
);
unsigned
long
(
*
translate
)(
alpha_agp_info
*
,
dma_addr_t
);
unsigned
long
(
*
translate
)(
alpha_agp_info
*
,
dma_addr_t
);
};
};
...
...
include/asm-alpha/unistd.h
View file @
5e115975
...
@@ -349,7 +349,16 @@
...
@@ -349,7 +349,16 @@
#define __NR_set_tid_address 411
#define __NR_set_tid_address 411
#define __NR_restart_syscall 412
#define __NR_restart_syscall 412
#define __NR_fadvise64 413
#define __NR_fadvise64 413
#define NR_SYSCALLS 414
#define __NR_timer_create 414
#define __NR_timer_settime 415
#define __NR_timer_gettime 416
#define __NR_timer_getoverrun 417
#define __NR_timer_delete 418
#define __NR_clock_settime 419
#define __NR_clock_gettime 420
#define __NR_clock_getres 421
#define __NR_clock_nanosleep 422
#define NR_SYSCALLS 423
#if defined(__GNUC__)
#if defined(__GNUC__)
...
...
include/linux/blkdev.h
View file @
5e115975
...
@@ -431,7 +431,6 @@ extern void blk_queue_max_hw_segments(request_queue_t *, unsigned short);
...
@@ -431,7 +431,6 @@ extern void blk_queue_max_hw_segments(request_queue_t *, unsigned short);
extern
void
blk_queue_max_segment_size
(
request_queue_t
*
,
unsigned
int
);
extern
void
blk_queue_max_segment_size
(
request_queue_t
*
,
unsigned
int
);
extern
void
blk_queue_hardsect_size
(
request_queue_t
*
,
unsigned
short
);
extern
void
blk_queue_hardsect_size
(
request_queue_t
*
,
unsigned
short
);
extern
void
blk_queue_segment_boundary
(
request_queue_t
*
,
unsigned
long
);
extern
void
blk_queue_segment_boundary
(
request_queue_t
*
,
unsigned
long
);
extern
void
blk_queue_assign_lock
(
request_queue_t
*
,
spinlock_t
*
);
extern
void
blk_queue_prep_rq
(
request_queue_t
*
,
prep_rq_fn
*
pfn
);
extern
void
blk_queue_prep_rq
(
request_queue_t
*
,
prep_rq_fn
*
pfn
);
extern
void
blk_queue_merge_bvec
(
request_queue_t
*
,
merge_bvec_fn
*
);
extern
void
blk_queue_merge_bvec
(
request_queue_t
*
,
merge_bvec_fn
*
);
extern
void
blk_queue_dma_alignment
(
request_queue_t
*
,
int
);
extern
void
blk_queue_dma_alignment
(
request_queue_t
*
,
int
);
...
...
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