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
d04508bf
Commit
d04508bf
authored
Aug 02, 2002
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Plain Diff
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc
parents
d88fa722
454e1bfb
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
32 additions
and
17 deletions
+32
-17
drivers/usb/host/ohci-q.c
drivers/usb/host/ohci-q.c
+22
-7
fs/nfs/dir.c
fs/nfs/dir.c
+5
-4
fs/nfs/nfs2xdr.c
fs/nfs/nfs2xdr.c
+1
-1
fs/nfs/nfs3xdr.c
fs/nfs/nfs3xdr.c
+1
-1
include/asm-i386/smp.h
include/asm-i386/smp.h
+3
-2
mm/rmap.c
mm/rmap.c
+0
-2
No files found.
drivers/usb/host/ohci-q.c
View file @
d04508bf
...
...
@@ -534,6 +534,8 @@ td_fill (unsigned int info,
/* aim for only one interrupt per urb. mostly applies to control
* and iso; other urbs rarely need more than one TD per urb.
* this way, only final tds (or ones with an error) cause IRQs.
* at least immediately; use DI=6 in case any control request is
* tempted to die part way through.
*
* NOTE: could delay interrupts even for the last TD, and get fewer
* interrupts ... increasing per-urb latency by sharing interrupts.
...
...
@@ -541,7 +543,7 @@ td_fill (unsigned int info,
*/
if
(
index
!=
(
urb_priv
->
length
-
1
)
||
(
urb
->
transfer_flags
&
URB_NO_INTERRUPT
))
info
|=
TD_DI_SET
(
7
);
info
|=
TD_DI_SET
(
6
);
/* use this td as the next dummy */
td_pt
=
urb_priv
->
td
[
index
];
...
...
@@ -809,12 +811,16 @@ static struct td *dl_reverse_done_list (struct ohci_hcd *ohci)
ohci
->
hcca
->
done_head
=
0
;
while
(
td_list_hc
)
{
int
cc
;
td_list
=
dma_to_td
(
ohci
,
td_list_hc
);
td_list
->
hwINFO
|=
cpu_to_le32
(
TD_DONE
);
if
(
TD_CC_GET
(
le32_to_cpup
(
&
td_list
->
hwINFO
)))
{
cc
=
TD_CC_GET
(
le32_to_cpup
(
&
td_list
->
hwINFO
));
if
(
cc
!=
TD_CC_NOERROR
)
{
urb_priv
=
(
urb_priv_t
*
)
td_list
->
urb
->
hcpriv
;
/* Non-iso endpoints can halt on error; un-halt,
* and dequeue any other TDs from this urb.
* No other TD could have caused the halt.
...
...
@@ -822,12 +828,21 @@ static struct td *dl_reverse_done_list (struct ohci_hcd *ohci)
if
(
td_list
->
ed
->
hwHeadP
&
ED_H
)
{
if
(
urb_priv
&&
((
td_list
->
index
+
1
)
<
urb_priv
->
length
))
{
#ifdef OHCI_VERBOSE_DEBUG
dbg
(
"urb %p TD %p (%d/%d), patch ED"
,
td_list
->
urb
,
td_list
,
struct
urb
*
urb
=
td_list
->
urb
;
/* help for troubleshooting: */
dbg
(
"urb %p usb-%s-%s ep-%d-%s "
"(td %d/%d), "
"cc %d --> status %d"
,
td_list
->
urb
,
urb
->
dev
->
bus
->
bus_name
,
urb
->
dev
->
devpath
,
usb_pipeendpoint
(
urb
->
pipe
),
usb_pipein
(
urb
->
pipe
)
?
"IN"
:
"OUT"
,
1
+
td_list
->
index
,
urb_priv
->
length
);
#endif
urb_priv
->
length
,
cc
,
cc_to_error
[
cc
]);
td_list
->
ed
->
hwHeadP
=
(
urb_priv
->
td
[
urb_priv
->
length
-
1
]
->
hwNextTD
&
__constant_cpu_to_le32
(
TD_MASK
))
...
...
fs/nfs/dir.c
View file @
d04508bf
...
...
@@ -198,7 +198,7 @@ int find_dirent_page(nfs_readdir_descriptor_t *desc)
dfprintk
(
VFS
,
"NFS: find_dirent_page() searching directory page %ld
\n
"
,
desc
->
page_index
);
page
=
read_cache_page
(
&
inode
->
i_data
,
desc
->
page_index
,
page
=
read_cache_page
(
inode
->
i_mapping
,
desc
->
page_index
,
(
filler_t
*
)
nfs_readdir_filler
,
desc
);
if
(
IS_ERR
(
page
))
{
status
=
PTR_ERR
(
page
);
...
...
@@ -566,7 +566,6 @@ static int nfs_lookup_revalidate(struct dentry * dentry, int flags)
goto
out_valid
;
shrink_dcache_parent
(
dentry
);
}
d_drop
(
dentry
);
unlock_kernel
();
dput
(
parent
);
return
0
;
...
...
@@ -639,7 +638,7 @@ static struct dentry *nfs_lookup(struct inode *dir, struct dentry * dentry)
nfs_renew_times
(
dentry
);
error
=
0
;
}
goto
out
;
goto
out
_unlock
;
}
error
=
NFS_PROTO
(
dir
)
->
lookup
(
dir
,
&
dentry
->
d_name
,
&
fhandle
,
&
fattr
);
...
...
@@ -655,8 +654,10 @@ static struct dentry *nfs_lookup(struct inode *dir, struct dentry * dentry)
}
nfs_renew_times
(
dentry
);
}
out_unlock:
unlock_kernel
();
out:
BUG_ON
(
error
>
0
);
return
ERR_PTR
(
error
);
}
...
...
@@ -712,7 +713,7 @@ int nfs_cached_lookup(struct inode *dir, struct dentry *dentry,
desc
.
page_index
=
0
;
desc
.
plus
=
1
;
for
(;(
page
=
find_get_page
(
&
dir
->
i_data
,
desc
.
page_index
));
desc
.
page_index
++
)
{
for
(;(
page
=
find_get_page
(
dir
->
i_mapping
,
desc
.
page_index
));
desc
.
page_index
++
)
{
res
=
-
EIO
;
if
(
PageUptodate
(
page
))
{
...
...
fs/nfs/nfs2xdr.c
View file @
d04508bf
...
...
@@ -420,9 +420,9 @@ nfs_xdr_readdirres(struct rpc_rqst *req, u32 *p, void *dummy)
kunmap
(
*
page
);
return
nr
;
short_pkt:
kunmap
(
*
page
);
printk
(
KERN_NOTICE
"NFS: short packet in readdir reply!
\n
"
);
entry
[
0
]
=
entry
[
1
]
=
0
;
kunmap
(
*
page
);
return
nr
;
err_unmap:
kunmap
(
*
page
);
...
...
fs/nfs/nfs3xdr.c
View file @
d04508bf
...
...
@@ -574,10 +574,10 @@ nfs3_xdr_readdirres(struct rpc_rqst *req, u32 *p, struct nfs3_readdirres *res)
kunmap
(
*
page
);
return
nr
;
short_pkt:
kunmap
(
*
page
);
printk
(
KERN_NOTICE
"NFS: short packet in readdir reply!
\n
"
);
/* truncate listing */
entry
[
0
]
=
entry
[
1
]
=
0
;
kunmap
(
*
page
);
return
nr
;
err_unmap:
kunmap
(
*
page
);
...
...
include/asm-i386/smp.h
View file @
d04508bf
...
...
@@ -85,7 +85,9 @@ extern volatile int logical_apicid_to_cpu[MAX_APICID];
*/
#define smp_processor_id() (current_thread_info()->cpu)
#define cpu_possible(cpu) (phys_cpu_present_map & (1<<(cpu)))
extern
volatile
unsigned
long
cpu_callout_map
;
#define cpu_possible(cpu) (cpu_callout_map & (1<<(cpu)))
#define cpu_online(cpu) (cpu_online_map & (1<<(cpu)))
extern
inline
unsigned
int
num_online_cpus
(
void
)
...
...
@@ -113,7 +115,6 @@ static __inline int logical_smp_processor_id(void)
return
GET_APIC_LOGICAL_ID
(
*
(
unsigned
long
*
)(
APIC_BASE
+
APIC_LDR
));
}
extern
volatile
unsigned
long
cpu_callout_map
;
/* We don't mark CPUs online until __cpu_up(), so we need another measure */
static
inline
int
num_booting_cpus
(
void
)
{
...
...
mm/rmap.c
View file @
d04508bf
...
...
@@ -208,8 +208,6 @@ void page_remove_rmap(struct page * page, pte_t * ptep)
}
printk
(
"
\n
"
);
printk
(
KERN_ERR
"page_remove_rmap: driver cleared PG_reserved ?
\n
"
);
#else
BUG
();
#endif
out:
...
...
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