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
48b8eb0c
Commit
48b8eb0c
authored
Oct 11, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Automerge
parents
a14f13f8
34610152
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
74 additions
and
59 deletions
+74
-59
arch/alpha/kernel/pci.c
arch/alpha/kernel/pci.c
+1
-1
drivers/char/rtc.c
drivers/char/rtc.c
+4
-0
drivers/ide/ide-cd.h
drivers/ide/ide-cd.h
+1
-1
drivers/serial/8250.c
drivers/serial/8250.c
+1
-1
drivers/serial/core.c
drivers/serial/core.c
+1
-1
fs/ext2/ialloc.c
fs/ext2/ialloc.c
+2
-1
fs/ext2/inode.c
fs/ext2/inode.c
+6
-4
fs/ext3/ialloc.c
fs/ext3/ialloc.c
+6
-3
fs/nfsd/export.c
fs/nfsd/export.c
+2
-1
include/asm-alpha/elf.h
include/asm-alpha/elf.h
+40
-38
include/asm-alpha/mmu_context.h
include/asm-alpha/mmu_context.h
+1
-1
include/asm-alpha/posix_types.h
include/asm-alpha/posix_types.h
+1
-1
include/linux/module.h
include/linux/module.h
+8
-6
No files found.
arch/alpha/kernel/pci.c
View file @
48b8eb0c
...
@@ -102,7 +102,7 @@ quirk_cypress(struct pci_dev *dev)
...
@@ -102,7 +102,7 @@ quirk_cypress(struct pci_dev *dev)
#define DMAPSZ (max_low_pfn << PAGE_SHIFT)
/* memory size, not window size */
#define DMAPSZ (max_low_pfn << PAGE_SHIFT)
/* memory size, not window size */
if
((
__direct_map_base
+
DMAPSZ
-
1
)
>=
0xfff00000UL
)
{
if
((
__direct_map_base
+
DMAPSZ
-
1
)
>=
0xfff00000UL
)
{
__direct_map_size
=
0xfff00000UL
-
__direct_map_base
;
__direct_map_size
=
0xfff00000UL
-
__direct_map_base
;
printk
(
"%s: adjusting direct map size to 0x%x
\n
"
,
printk
(
"%s: adjusting direct map size to 0x%
l
x
\n
"
,
__FUNCTION__
,
__direct_map_size
);
__FUNCTION__
,
__direct_map_size
);
}
else
{
}
else
{
struct
pci_controller
*
hose
=
dev
->
sysdata
;
struct
pci_controller
*
hose
=
dev
->
sysdata
;
...
...
drivers/char/rtc.c
View file @
48b8eb0c
...
@@ -86,7 +86,9 @@ static unsigned long rtc_port;
...
@@ -86,7 +86,9 @@ static unsigned long rtc_port;
static
int
rtc_irq
=
PCI_IRQ_NONE
;
static
int
rtc_irq
=
PCI_IRQ_NONE
;
#endif
#endif
#if RTC_IRQ
static
int
rtc_has_irq
=
1
;
static
int
rtc_has_irq
=
1
;
#endif
/*
/*
* We sponge a minor off of the misc major. No need slurping
* We sponge a minor off of the misc major. No need slurping
...
@@ -99,7 +101,9 @@ static struct fasync_struct *rtc_async_queue;
...
@@ -99,7 +101,9 @@ static struct fasync_struct *rtc_async_queue;
static
DECLARE_WAIT_QUEUE_HEAD
(
rtc_wait
);
static
DECLARE_WAIT_QUEUE_HEAD
(
rtc_wait
);
#if RTC_IRQ
static
struct
timer_list
rtc_irq_timer
;
static
struct
timer_list
rtc_irq_timer
;
#endif
static
ssize_t
rtc_read
(
struct
file
*
file
,
char
*
buf
,
static
ssize_t
rtc_read
(
struct
file
*
file
,
char
*
buf
,
size_t
count
,
loff_t
*
ppos
);
size_t
count
,
loff_t
*
ppos
);
...
...
drivers/ide/ide-cd.h
View file @
48b8eb0c
...
@@ -437,7 +437,7 @@ struct atapi_mechstat_header {
...
@@ -437,7 +437,7 @@ struct atapi_mechstat_header {
byte
curlba
[
3
];
byte
curlba
[
3
];
byte
nslots
;
byte
nslots
;
__u8
short
slot_tablelen
;
__u8
slot_tablelen
;
};
};
...
...
drivers/serial/8250.c
View file @
48b8eb0c
...
@@ -1885,7 +1885,7 @@ static int __register_serial(struct serial_struct *req, int line)
...
@@ -1885,7 +1885,7 @@ static int __register_serial(struct serial_struct *req, int line)
port
.
line
=
line
;
port
.
line
=
line
;
if
(
HIGH_BITS_OFFSET
)
if
(
HIGH_BITS_OFFSET
)
port
.
iobase
|=
req
->
port_high
<<
HIGH_BITS_OFFSET
;
port
.
iobase
|=
(
long
)
req
->
port_high
<<
HIGH_BITS_OFFSET
;
/*
/*
* If a clock rate wasn't specified by the low level
* If a clock rate wasn't specified by the low level
...
...
drivers/serial/core.c
View file @
48b8eb0c
...
@@ -593,7 +593,7 @@ static int uart_get_info(struct uart_info *info, struct serial_struct *retinfo)
...
@@ -593,7 +593,7 @@ static int uart_get_info(struct uart_info *info, struct serial_struct *retinfo)
tmp
.
line
=
port
->
line
;
tmp
.
line
=
port
->
line
;
tmp
.
port
=
port
->
iobase
;
tmp
.
port
=
port
->
iobase
;
if
(
HIGH_BITS_OFFSET
)
if
(
HIGH_BITS_OFFSET
)
tmp
.
port_high
=
port
->
iobase
>>
HIGH_BITS_OFFSET
;
tmp
.
port_high
=
(
long
)
port
->
iobase
>>
HIGH_BITS_OFFSET
;
tmp
.
irq
=
port
->
irq
;
tmp
.
irq
=
port
->
irq
;
tmp
.
flags
=
port
->
flags
|
info
->
flags
;
tmp
.
flags
=
port
->
flags
|
info
->
flags
;
tmp
.
xmit_fifo_size
=
port
->
fifosize
;
tmp
.
xmit_fifo_size
=
port
->
fifosize
;
...
...
fs/ext2/ialloc.c
View file @
48b8eb0c
...
@@ -342,7 +342,8 @@ struct inode * ext2_new_inode(struct inode * dir, int mode)
...
@@ -342,7 +342,8 @@ struct inode * ext2_new_inode(struct inode * dir, int mode)
if
(
ino
<
EXT2_FIRST_INO
(
sb
)
||
ino
>
le32_to_cpu
(
es
->
s_inodes_count
))
{
if
(
ino
<
EXT2_FIRST_INO
(
sb
)
||
ino
>
le32_to_cpu
(
es
->
s_inodes_count
))
{
ext2_error
(
sb
,
"ext2_new_inode"
,
ext2_error
(
sb
,
"ext2_new_inode"
,
"reserved inode or inode > inodes count - "
"reserved inode or inode > inodes count - "
"block_group = %d,inode=%ld"
,
group
,
ino
);
"block_group = %d,inode=%lu"
,
group
,
(
unsigned
long
)
ino
);
err
=
-
EIO
;
err
=
-
EIO
;
goto
fail2
;
goto
fail2
;
}
}
...
...
fs/ext2/inode.c
View file @
48b8eb0c
...
@@ -952,12 +952,13 @@ static struct ext2_inode *ext2_get_inode(struct super_block *sb, ino_t ino,
...
@@ -952,12 +952,13 @@ static struct ext2_inode *ext2_get_inode(struct super_block *sb, ino_t ino,
return
(
struct
ext2_inode
*
)
(
bh
->
b_data
+
offset
);
return
(
struct
ext2_inode
*
)
(
bh
->
b_data
+
offset
);
Einval:
Einval:
ext2_error
(
sb
,
"ext2_get_inode"
,
"bad inode number: %lu"
,
ino
);
ext2_error
(
sb
,
"ext2_get_inode"
,
"bad inode number: %lu"
,
(
unsigned
long
)
ino
);
return
ERR_PTR
(
-
EINVAL
);
return
ERR_PTR
(
-
EINVAL
);
Eio:
Eio:
ext2_error
(
sb
,
"ext2_get_inode"
,
ext2_error
(
sb
,
"ext2_get_inode"
,
"unable to read inode block - inode=%lu, block=%lu"
,
"unable to read inode block - inode=%lu, block=%lu"
,
ino
,
block
);
(
unsigned
long
)
ino
,
block
);
Egdp:
Egdp:
return
ERR_PTR
(
-
EIO
);
return
ERR_PTR
(
-
EIO
);
}
}
...
@@ -1076,7 +1077,8 @@ static int ext2_update_inode(struct inode * inode, int do_sync)
...
@@ -1076,7 +1077,8 @@ static int ext2_update_inode(struct inode * inode, int do_sync)
return
-
EIO
;
return
-
EIO
;
if
(
ino
==
EXT2_ACL_IDX_INO
||
ino
==
EXT2_ACL_DATA_INO
)
{
if
(
ino
==
EXT2_ACL_IDX_INO
||
ino
==
EXT2_ACL_DATA_INO
)
{
ext2_error
(
sb
,
"ext2_write_inode"
,
"bad inode number: %lu"
,
ino
);
ext2_error
(
sb
,
"ext2_write_inode"
,
"bad inode number: %lu"
,
(
unsigned
long
)
ino
);
brelse
(
bh
);
brelse
(
bh
);
return
-
EIO
;
return
-
EIO
;
}
}
...
@@ -1146,7 +1148,7 @@ static int ext2_update_inode(struct inode * inode, int do_sync)
...
@@ -1146,7 +1148,7 @@ static int ext2_update_inode(struct inode * inode, int do_sync)
wait_on_buffer
(
bh
);
wait_on_buffer
(
bh
);
if
(
buffer_req
(
bh
)
&&
!
buffer_uptodate
(
bh
))
{
if
(
buffer_req
(
bh
)
&&
!
buffer_uptodate
(
bh
))
{
printk
(
"IO error syncing ext2 inode [%s:%08lx]
\n
"
,
printk
(
"IO error syncing ext2 inode [%s:%08lx]
\n
"
,
sb
->
s_id
,
ino
);
sb
->
s_id
,
(
unsigned
long
)
ino
);
err
=
-
EIO
;
err
=
-
EIO
;
}
}
}
}
...
...
fs/ext3/ialloc.c
View file @
48b8eb0c
...
@@ -458,7 +458,8 @@ struct inode *ext3_orphan_get (struct super_block * sb, ino_t ino)
...
@@ -458,7 +458,8 @@ struct inode *ext3_orphan_get (struct super_block * sb, ino_t ino)
/* Error cases - e2fsck has already cleaned up for us */
/* Error cases - e2fsck has already cleaned up for us */
if
(
ino
>
max_ino
)
{
if
(
ino
>
max_ino
)
{
ext3_warning
(
sb
,
__FUNCTION__
,
ext3_warning
(
sb
,
__FUNCTION__
,
"bad orphan ino %ld! e2fsck was run?
\n
"
,
ino
);
"bad orphan ino %lu! e2fsck was run?
\n
"
,
(
unsigned
long
)
ino
);
goto
out
;
goto
out
;
}
}
...
@@ -467,7 +468,8 @@ struct inode *ext3_orphan_get (struct super_block * sb, ino_t ino)
...
@@ -467,7 +468,8 @@ struct inode *ext3_orphan_get (struct super_block * sb, ino_t ino)
bitmap_bh
=
read_inode_bitmap
(
sb
,
block_group
);
bitmap_bh
=
read_inode_bitmap
(
sb
,
block_group
);
if
(
!
bitmap_bh
)
{
if
(
!
bitmap_bh
)
{
ext3_warning
(
sb
,
__FUNCTION__
,
ext3_warning
(
sb
,
__FUNCTION__
,
"inode bitmap error for orphan %ld
\n
"
,
ino
);
"inode bitmap error for orphan %lu
\n
"
,
(
unsigned
long
)
ino
);
goto
out
;
goto
out
;
}
}
...
@@ -490,7 +492,8 @@ struct inode *ext3_orphan_get (struct super_block * sb, ino_t ino)
...
@@ -490,7 +492,8 @@ struct inode *ext3_orphan_get (struct super_block * sb, ino_t ino)
is_bad_inode
(
inode
));
is_bad_inode
(
inode
));
printk
(
KERN_NOTICE
"NEXT_ORPHAN(inode)=%d
\n
"
,
printk
(
KERN_NOTICE
"NEXT_ORPHAN(inode)=%d
\n
"
,
NEXT_ORPHAN
(
inode
));
NEXT_ORPHAN
(
inode
));
printk
(
KERN_NOTICE
"max_ino=%ld
\n
"
,
max_ino
);
printk
(
KERN_NOTICE
"max_ino=%lu
\n
"
,
(
unsigned
long
)
max_ino
);
}
}
/* Avoid freeing blocks if we got a bad deleted inode */
/* Avoid freeing blocks if we got a bad deleted inode */
if
(
inode
&&
inode
->
i_nlink
==
0
)
if
(
inode
&&
inode
->
i_nlink
==
0
)
...
...
fs/nfsd/export.c
View file @
48b8eb0c
...
@@ -781,7 +781,8 @@ exp_unexport(struct nfsctl_export *nxp)
...
@@ -781,7 +781,8 @@ exp_unexport(struct nfsctl_export *nxp)
expkey_put
(
&
key
->
h
,
&
svc_expkey_cache
);
expkey_put
(
&
key
->
h
,
&
svc_expkey_cache
);
}
else
}
else
dprintk
(
"nfsd: no export %x/%lx for %s
\n
"
,
dprintk
(
"nfsd: no export %x/%lx for %s
\n
"
,
nxp
->
ex_dev
,
nxp
->
ex_ino
,
nxp
->
ex_client
);
nxp
->
ex_dev
,
(
unsigned
long
)
nxp
->
ex_ino
,
nxp
->
ex_client
);
auth_domain_put
(
dom
);
auth_domain_put
(
dom
);
cache_flush
();
cache_flush
();
}
else
}
else
...
...
include/asm-alpha/elf.h
View file @
48b8eb0c
...
@@ -58,8 +58,10 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
...
@@ -58,8 +58,10 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
Eventually, it would be nice if the ECOFF core-dump had to do the
Eventually, it would be nice if the ECOFF core-dump had to do the
translation, then ELF_CORE_COPY_REGS() would become trivial and
translation, then ELF_CORE_COPY_REGS() would become trivial and
faster. */
faster. */
#define ELF_CORE_COPY_REGS(_dest,_regs) \
#define ELF_CORE_COPY_REGS(_dest,_regs) \
{ \
{ \
extern void dump_thread(struct pt_regs *, struct user *); \
struct user _dump; \
struct user _dump; \
\
\
dump_thread(_regs, &_dump); \
dump_thread(_regs, &_dump); \
...
...
include/asm-alpha/mmu_context.h
View file @
48b8eb0c
...
@@ -33,7 +33,7 @@ __reload_thread(struct pcb_struct *pcb)
...
@@ -33,7 +33,7 @@ __reload_thread(struct pcb_struct *pcb)
"call_pal %2 #__reload_thread"
"call_pal %2 #__reload_thread"
:
"=r"
(
v0
),
"=r"
(
a0
)
:
"=r"
(
v0
),
"=r"
(
a0
)
:
"i"
(
PAL_swpctx
),
"r"
(
a0
)
:
"i"
(
PAL_swpctx
),
"r"
(
a0
)
:
"$1"
,
"$
16"
,
"$
22"
,
"$23"
,
"$24"
,
"$25"
);
:
"$1"
,
"$22"
,
"$23"
,
"$24"
,
"$25"
);
return
v0
;
return
v0
;
}
}
...
...
include/asm-alpha/posix_types.h
View file @
48b8eb0c
...
@@ -12,7 +12,7 @@ typedef unsigned int __kernel_ino_t;
...
@@ -12,7 +12,7 @@ typedef unsigned int __kernel_ino_t;
typedef
unsigned
int
__kernel_mode_t
;
typedef
unsigned
int
__kernel_mode_t
;
typedef
unsigned
int
__kernel_nlink_t
;
typedef
unsigned
int
__kernel_nlink_t
;
typedef
long
__kernel_off_t
;
typedef
long
__kernel_off_t
;
typedef
long
__kernel_loff_t
;
typedef
long
long
__kernel_loff_t
;
typedef
int
__kernel_pid_t
;
typedef
int
__kernel_pid_t
;
typedef
int
__kernel_ipc_pid_t
;
typedef
int
__kernel_ipc_pid_t
;
typedef
unsigned
int
__kernel_uid_t
;
typedef
unsigned
int
__kernel_uid_t
;
...
...
include/linux/module.h
View file @
48b8eb0c
...
@@ -274,8 +274,8 @@ static const struct gtype##_id * __module_##gtype##_table \
...
@@ -274,8 +274,8 @@ static const struct gtype##_id * __module_##gtype##_table \
*/
*/
#define MODULE_LICENSE(license) \
#define MODULE_LICENSE(license) \
static const char __module_license[]
__attribute__((section(".modinfo"))) =
\
static const char __module_license[]
\
"license=" license
__attribute__((section(".modinfo"), unused)) =
"license=" license
/* Define the module variable, and usage macros. */
/* Define the module variable, and usage macros. */
extern
struct
module
__this_module
;
extern
struct
module
__this_module
;
...
@@ -286,11 +286,13 @@ extern struct module __this_module;
...
@@ -286,11 +286,13 @@ extern struct module __this_module;
#define MOD_IN_USE __MOD_IN_USE(THIS_MODULE)
#define MOD_IN_USE __MOD_IN_USE(THIS_MODULE)
#include <linux/version.h>
#include <linux/version.h>
static
const
char
__module_kernel_version
[]
__attribute__
((
section
(
".modinfo"
)))
=
static
const
char
__module_kernel_version
[]
"kernel_version="
UTS_RELEASE
;
__attribute__
((
section
(
".modinfo"
),
unused
))
=
"kernel_version="
UTS_RELEASE
;
#ifdef CONFIG_MODVERSIONS
#ifdef CONFIG_MODVERSIONS
static
const
char
__module_using_checksums
[]
__attribute__
((
section
(
".modinfo"
)))
=
static
const
char
__module_using_checksums
[]
"using_checksums=1"
;
__attribute__
((
section
(
".modinfo"
),
unused
))
=
"using_checksums=1"
;
#endif
#endif
#else
/* MODULE */
#else
/* MODULE */
...
...
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