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
deb0b199
Commit
deb0b199
authored
Mar 30, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5
parents
01709170
df4b68ca
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
22 additions
and
17 deletions
+22
-17
arch/i386/boot/setup.S
arch/i386/boot/setup.S
+1
-1
arch/i386/boot98/setup.S
arch/i386/boot98/setup.S
+1
-1
arch/i386/kernel/vm86.c
arch/i386/kernel/vm86.c
+2
-1
drivers/ide/ide.c
drivers/ide/ide.c
+1
-1
include/asm-i386/page.h
include/asm-i386/page.h
+8
-4
include/asm-i386/string.h
include/asm-i386/string.h
+3
-3
include/asm-i386/uaccess.h
include/asm-i386/uaccess.h
+1
-1
include/linux/bitops.h
include/linux/bitops.h
+5
-5
No files found.
arch/i386/boot/setup.S
View file @
deb0b199
...
@@ -162,7 +162,7 @@ cmd_line_ptr: .long 0 # (Header version 0x0202 or later)
...
@@ -162,7 +162,7 @@ cmd_line_ptr: .long 0 # (Header version 0x0202 or later)
#
can
be
located
anywhere
in
#
can
be
located
anywhere
in
#
low
memory
0x10000
or
higher
.
#
low
memory
0x10000
or
higher
.
ramdisk_max
:
.
long
__MAXMEM
-
1
#
(
Header
version
0x0203
or
later
)
ramdisk_max
:
.
long
MAXMEM
-
1
#
(
Header
version
0x0203
or
later
)
#
The
highest
safe
address
for
#
The
highest
safe
address
for
#
the
contents
of
an
initrd
#
the
contents
of
an
initrd
...
...
arch/i386/boot98/setup.S
View file @
deb0b199
...
@@ -169,7 +169,7 @@ cmd_line_ptr: .long 0 # (Header version 0x0202 or later)
...
@@ -169,7 +169,7 @@ cmd_line_ptr: .long 0 # (Header version 0x0202 or later)
#
can
be
located
anywhere
in
#
can
be
located
anywhere
in
#
low
memory
0x10000
or
higher
.
#
low
memory
0x10000
or
higher
.
ramdisk_max
:
.
long
__MAXMEM
-
1
#
(
Header
version
0x0203
or
later
)
ramdisk_max
:
.
long
MAXMEM
-
1
#
(
Header
version
0x0203
or
later
)
#
The
highest
safe
address
for
#
The
highest
safe
address
for
#
the
contents
of
an
initrd
#
the
contents
of
an
initrd
...
...
arch/i386/kernel/vm86.c
View file @
deb0b199
...
@@ -289,9 +289,10 @@ static void do_sys_vm86(struct kernel_vm86_struct *info, struct task_struct *tsk
...
@@ -289,9 +289,10 @@ static void do_sys_vm86(struct kernel_vm86_struct *info, struct task_struct *tsk
asm
volatile
(
"movl %%fs,%0"
:
"=m"
(
tsk
->
thread
.
saved_fs
));
asm
volatile
(
"movl %%fs,%0"
:
"=m"
(
tsk
->
thread
.
saved_fs
));
asm
volatile
(
"movl %%gs,%0"
:
"=m"
(
tsk
->
thread
.
saved_gs
));
asm
volatile
(
"movl %%gs,%0"
:
"=m"
(
tsk
->
thread
.
saved_gs
));
tss
=
init_tss
+
smp_processor_id
();
tss
=
init_tss
+
get_cpu
();
tss
->
esp0
=
tsk
->
thread
.
esp0
=
(
unsigned
long
)
&
info
->
VM86_TSS_ESP0
;
tss
->
esp0
=
tsk
->
thread
.
esp0
=
(
unsigned
long
)
&
info
->
VM86_TSS_ESP0
;
disable_sysenter
(
tss
);
disable_sysenter
(
tss
);
put_cpu
();
tsk
->
thread
.
screen_bitmap
=
info
->
screen_bitmap
;
tsk
->
thread
.
screen_bitmap
=
info
->
screen_bitmap
;
if
(
info
->
flags
&
VM86_SCREEN_BITMAP
)
if
(
info
->
flags
&
VM86_SCREEN_BITMAP
)
...
...
drivers/ide/ide.c
View file @
deb0b199
...
@@ -2019,7 +2019,7 @@ int __init ide_setup (char *s)
...
@@ -2019,7 +2019,7 @@ int __init ide_setup (char *s)
goto
done
;
goto
done
;
}
}
#endif
/* CONFIG_BLK_DEV_HT6560B */
#endif
/* CONFIG_BLK_DEV_HT6560B */
#if CONFIG_BLK_DEV_QD65XX
#if
def
CONFIG_BLK_DEV_QD65XX
case
-
12
:
/* "qd65xx" */
case
-
12
:
/* "qd65xx" */
{
{
extern
void
init_qd65xx
(
void
);
extern
void
init_qd65xx
(
void
);
...
...
include/asm-i386/page.h
View file @
deb0b199
...
@@ -90,8 +90,6 @@ typedef struct { unsigned long pgprot; } pgprot_t;
...
@@ -90,8 +90,6 @@ typedef struct { unsigned long pgprot; } pgprot_t;
* and CONFIG_HIGHMEM64G options in the kernel configuration.
* and CONFIG_HIGHMEM64G options in the kernel configuration.
*/
*/
#define __PAGE_OFFSET (0xC0000000)
/*
/*
* This much address space is reserved for vmalloc() and iomap()
* This much address space is reserved for vmalloc() and iomap()
* as well as fixmap mappings.
* as well as fixmap mappings.
...
@@ -116,10 +114,16 @@ static __inline__ int get_order(unsigned long size)
...
@@ -116,10 +114,16 @@ static __inline__ int get_order(unsigned long size)
#endif
/* __ASSEMBLY__ */
#endif
/* __ASSEMBLY__ */
#ifdef __ASSEMBLY__
#define __PAGE_OFFSET (0xC0000000)
#else
#define __PAGE_OFFSET (0xC0000000UL)
#endif
#define PAGE_OFFSET ((unsigned long)__PAGE_OFFSET)
#define PAGE_OFFSET ((unsigned long)__PAGE_OFFSET)
#define VMALLOC_RESERVE ((unsigned long)__VMALLOC_RESERVE)
#define VMALLOC_RESERVE ((unsigned long)__VMALLOC_RESERVE)
#define __MAXMEM (-__PAGE_OFFSET-__VMALLOC_RESERVE)
#define MAXMEM (-__PAGE_OFFSET-__VMALLOC_RESERVE)
#define MAXMEM ((unsigned long)(-PAGE_OFFSET-VMALLOC_RESERVE))
#define __pa(x) ((unsigned long)(x)-PAGE_OFFSET)
#define __pa(x) ((unsigned long)(x)-PAGE_OFFSET)
#define __va(x) ((void *)((unsigned long)(x)+PAGE_OFFSET))
#define __va(x) ((void *)((unsigned long)(x)+PAGE_OFFSET))
#define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)
#define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)
...
...
include/asm-i386/string.h
View file @
deb0b199
...
@@ -69,7 +69,7 @@ __asm__ __volatile__(
...
@@ -69,7 +69,7 @@ __asm__ __volatile__(
"testb %%al,%%al
\n\t
"
"testb %%al,%%al
\n\t
"
"jne 1b"
"jne 1b"
:
"=&S"
(
d0
),
"=&D"
(
d1
),
"=&a"
(
d2
),
"=&c"
(
d3
)
:
"=&S"
(
d0
),
"=&D"
(
d1
),
"=&a"
(
d2
),
"=&c"
(
d3
)
:
"0"
(
src
),
"1"
(
dest
),
"2"
(
0
),
"3"
(
0xffffffff
)
:
"memory"
);
:
"0"
(
src
),
"1"
(
dest
),
"2"
(
0
),
"3"
(
0xffffffff
u
)
:
"memory"
);
return
dest
;
return
dest
;
}
}
...
@@ -91,7 +91,7 @@ __asm__ __volatile__(
...
@@ -91,7 +91,7 @@ __asm__ __volatile__(
"2:
\t
xorl %2,%2
\n\t
"
"2:
\t
xorl %2,%2
\n\t
"
"stosb"
"stosb"
:
"=&S"
(
d0
),
"=&D"
(
d1
),
"=&a"
(
d2
),
"=&c"
(
d3
)
:
"=&S"
(
d0
),
"=&D"
(
d1
),
"=&a"
(
d2
),
"=&c"
(
d3
)
:
"0"
(
src
),
"1"
(
dest
),
"2"
(
0
),
"3"
(
0xffffffff
),
"g"
(
count
)
:
"0"
(
src
),
"1"
(
dest
),
"2"
(
0
),
"3"
(
0xffffffff
u
),
"g"
(
count
)
:
"memory"
);
:
"memory"
);
return
dest
;
return
dest
;
}
}
...
@@ -186,7 +186,7 @@ __asm__ __volatile__(
...
@@ -186,7 +186,7 @@ __asm__ __volatile__(
"scasb
\n\t
"
"scasb
\n\t
"
"notl %0
\n\t
"
"notl %0
\n\t
"
"decl %0"
"decl %0"
:
"=c"
(
__res
),
"=&D"
(
d0
)
:
"1"
(
s
),
"a"
(
0
),
"0"
(
0xffffffff
));
:
"=c"
(
__res
),
"=&D"
(
d0
)
:
"1"
(
s
),
"a"
(
0
),
"0"
(
0xffffffff
u
));
return
__res
;
return
__res
;
}
}
...
...
include/asm-i386/uaccess.h
View file @
deb0b199
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
#define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
#define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
#define KERNEL_DS MAKE_MM_SEG(0xFFFFFFFF)
#define KERNEL_DS MAKE_MM_SEG(0xFFFFFFFF
UL
)
#define USER_DS MAKE_MM_SEG(PAGE_OFFSET)
#define USER_DS MAKE_MM_SEG(PAGE_OFFSET)
#define get_ds() (KERNEL_DS)
#define get_ds() (KERNEL_DS)
...
...
include/linux/bitops.h
View file @
deb0b199
...
@@ -47,23 +47,23 @@ extern __inline__ int generic_fls(int x)
...
@@ -47,23 +47,23 @@ extern __inline__ int generic_fls(int x)
if
(
!
x
)
if
(
!
x
)
return
0
;
return
0
;
if
(
!
(
x
&
0xffff0000
))
{
if
(
!
(
x
&
0xffff0000
u
))
{
x
<<=
16
;
x
<<=
16
;
r
-=
16
;
r
-=
16
;
}
}
if
(
!
(
x
&
0xff000000
))
{
if
(
!
(
x
&
0xff000000
u
))
{
x
<<=
8
;
x
<<=
8
;
r
-=
8
;
r
-=
8
;
}
}
if
(
!
(
x
&
0xf0000000
))
{
if
(
!
(
x
&
0xf0000000
u
))
{
x
<<=
4
;
x
<<=
4
;
r
-=
4
;
r
-=
4
;
}
}
if
(
!
(
x
&
0xc0000000
))
{
if
(
!
(
x
&
0xc0000000
u
))
{
x
<<=
2
;
x
<<=
2
;
r
-=
2
;
r
-=
2
;
}
}
if
(
!
(
x
&
0x80000000
))
{
if
(
!
(
x
&
0x80000000
u
))
{
x
<<=
1
;
x
<<=
1
;
r
-=
1
;
r
-=
1
;
}
}
...
...
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