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
da136c4d
Commit
da136c4d
authored
Sep 27, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://kernel.bkbits.net/jgarzik/bcopy-2.5
into home.osdl.org:/home/torvalds/v2.5/linux
parents
7a6b6776
fbca0b7d
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
21 deletions
+10
-21
arch/ia64/sn/io/sn2/module.c
arch/ia64/sn/io/sn2/module.c
+3
-4
arch/ia64/sn/io/sn2/pic.c
arch/ia64/sn/io/sn2/pic.c
+1
-3
drivers/scsi/ncr53c8xx.c
drivers/scsi/ncr53c8xx.c
+1
-1
drivers/scsi/sym53c8xx_2/sym_glue.h
drivers/scsi/sym53c8xx_2/sym_glue.h
+0
-4
drivers/scsi/sym53c8xx_2/sym_hipd.c
drivers/scsi/sym53c8xx_2/sym_hipd.c
+3
-3
drivers/scsi/sym53c8xx_2/sym_misc.c
drivers/scsi/sym53c8xx_2/sym_misc.c
+1
-1
drivers/scsi/sym53c8xx_comm.h
drivers/scsi/sym53c8xx_comm.h
+0
-4
fs/jfs/jfs_imap.c
fs/jfs/jfs_imap.c
+1
-1
No files found.
arch/ia64/sn/io/sn2/module.c
View file @
da136c4d
...
...
@@ -166,7 +166,6 @@ int module_probe_snum(module_t *m, nasid_t nasid)
{
lboard_t
*
board
;
klmod_serial_num_t
*
comp
;
char
*
bcopy
(
const
char
*
src
,
char
*
dest
,
int
count
);
char
serial_number
[
16
];
/*
...
...
@@ -215,9 +214,9 @@ int module_probe_snum(module_t *m, nasid_t nasid)
#endif
if
(
comp
->
snum
.
snum_str
[
0
]
!=
'\0'
)
{
bcopy
(
comp
->
snum
.
snum_str
,
m
->
sys_snum
,
MAX_SERIAL_NUM_SIZE
);
memcpy
(
m
->
sys_snum
,
comp
->
snum
.
snum_str
,
MAX_SERIAL_NUM_SIZE
);
m
->
sys_snum_valid
=
1
;
}
}
...
...
arch/ia64/sn/io/sn2/pic.c
View file @
da136c4d
...
...
@@ -29,8 +29,6 @@
#include <asm/sn/io.h>
#include <asm/sn/sn_private.h>
extern
char
*
bcopy
(
const
char
*
src
,
char
*
dest
,
int
count
);
#define PCI_BUS_NO_1 1
...
...
@@ -51,7 +49,7 @@ pic_bus1_inventory_dup(vertex_hdl_t conn_v, vertex_hdl_t peer_conn_v)
(
arbitrary_info_t
*
)
&
pinv
)
==
GRAPH_SUCCESS
)
{
NEW
(
peer_pinv
);
bcopy
((
const
char
*
)
pinv
,
(
char
*
)
peer_
pinv
,
sizeof
(
inventory_t
));
memcpy
(
peer_pinv
,
pinv
,
sizeof
(
inventory_t
));
if
(
hwgraph_info_add_LBL
(
peer_conn_v
,
INFO_LBL_INVENT
,
(
arbitrary_info_t
)
peer_pinv
)
!=
GRAPH_SUCCESS
)
{
DEL
(
peer_pinv
);
...
...
drivers/scsi/ncr53c8xx.c
View file @
da136c4d
...
...
@@ -7757,7 +7757,7 @@ static void ncr_init_ccb(ncb_p np, ccb_p cp)
cp
->
start
.
schedule
.
l_cmd
=
cpu_to_scr
(
SCR_JUMP
);
cp
->
start
.
p_phys
=
cpu_to_scr
(
CCB_PHYS
(
cp
,
phys
));
bcopy
(
&
cp
->
start
,
&
cp
->
re
start
,
sizeof
(
cp
->
restart
));
memcpy
(
&
cp
->
restart
,
&
cp
->
start
,
sizeof
(
cp
->
restart
));
cp
->
start
.
schedule
.
l_paddr
=
cpu_to_scr
(
NCB_SCRIPT_PHYS
(
np
,
idle
));
cp
->
restart
.
schedule
.
l_paddr
=
cpu_to_scr
(
NCB_SCRIPTH_PHYS
(
np
,
abort
));
...
...
drivers/scsi/sym53c8xx_2/sym_glue.h
View file @
da136c4d
...
...
@@ -70,10 +70,6 @@
#include <scsi/scsi_host.h>
#include "../scsi.h"
/* XXX: DID_* */
#ifndef bcopy
#define bcopy(s, d, n) memcpy((d), (s), (n))
#endif
#ifndef bzero
#define bzero(d, n) memset((d), 0, (n))
#endif
...
...
drivers/scsi/sym53c8xx_2/sym_hipd.c
View file @
da136c4d
...
...
@@ -5889,9 +5889,9 @@ int sym_hcb_attach(hcb_p np, struct sym_fw *fw)
/*
* Copy scripts to controller instance.
*/
bcopy
(
fw
->
a_base
,
np
->
scripta0
,
np
->
scripta_sz
);
bcopy
(
fw
->
b_base
,
np
->
scriptb0
,
np
->
scriptb_sz
);
bcopy
(
fw
->
z_base
,
np
->
scriptz0
,
np
->
scriptz_sz
);
memcpy
(
np
->
scripta0
,
fw
->
a_base
,
np
->
scripta_sz
);
memcpy
(
np
->
scriptb0
,
fw
->
b_base
,
np
->
scriptb_sz
);
memcpy
(
np
->
scriptz0
,
fw
->
z_base
,
np
->
scriptz_sz
);
/*
* Setup variable parts in scripts and compute
...
...
drivers/scsi/sym53c8xx_2/sym_misc.c
View file @
da136c4d
...
...
@@ -225,7 +225,7 @@ void sym_announce_transfer_rate(hcb_p np, int target)
*/
void
sym_update_trans_settings
(
hcb_p
np
,
tcb_p
tp
)
{
bcopy
(
&
tp
->
tinfo
.
user
,
&
tp
->
tinfo
.
goal
,
sizeof
(
tp
->
tinfo
.
goal
));
memcpy
(
&
tp
->
tinfo
.
goal
,
&
tp
->
tinfo
.
user
,
sizeof
(
tp
->
tinfo
.
goal
));
if
(
tp
->
inq_version
>=
4
)
{
switch
(
tp
->
inq_byte56
&
INQ56_CLOCKING
)
{
...
...
drivers/scsi/sym53c8xx_comm.h
View file @
da136c4d
...
...
@@ -88,10 +88,6 @@
#define u_int unsigned int
#define u_long unsigned long
#ifndef bcopy
#define bcopy(s, d, n) memcpy((d), (s), (n))
#endif
#ifndef bcmp
#define bcmp(s, d, n) memcmp((d), (s), (n))
#endif
...
...
fs/jfs/jfs_imap.c
View file @
da136c4d
...
...
@@ -838,7 +838,7 @@ int diWrite(tid_t tid, struct inode *ip)
*/
if
(
S_ISDIR
(
ip
->
i_mode
)
&&
(
ip
->
i_ipmnt
->
i_mntflag
&
JFS_DASD_ENABLED
))
bcopy
(
&
ip
->
i_DASD
,
&
dp
->
d
i_DASD
,
sizeof
(
struct
dasd
));
memcpy
(
&
dp
->
di_DASD
,
&
ip
->
i_DASD
,
sizeof
(
struct
dasd
));
#endif
/* _JFS_FASTDASD */
/* release the buffer holding the updated on-disk inode.
...
...
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