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
c51b4f46
Commit
c51b4f46
authored
Nov 08, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://bkbits.ras.ucalgary.ca/rgooch-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux
parents
65d1ae8d
7cc63d21
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
3 deletions
+11
-3
arch/i386/kernel/traps.c
arch/i386/kernel/traps.c
+6
-1
drivers/parport/parport_cs.c
drivers/parport/parport_cs.c
+1
-0
include/asm-i386/hardirq.h
include/asm-i386/hardirq.h
+2
-0
kernel/pid.c
kernel/pid.c
+1
-1
kernel/sched.c
kernel/sched.c
+1
-1
No files found.
arch/i386/kernel/traps.c
View file @
c51b4f46
...
...
@@ -526,12 +526,17 @@ static nmi_callback_t nmi_callback = dummy_nmi_callback;
asmlinkage
void
do_nmi
(
struct
pt_regs
*
regs
,
long
error_code
)
{
int
cpu
=
smp_processor_id
()
;
int
cpu
;
nmi_enter
();
cpu
=
smp_processor_id
();
++
nmi_count
(
cpu
);
if
(
!
nmi_callback
(
regs
,
cpu
))
default_do_nmi
(
regs
);
nmi_exit
();
}
void
set_nmi_callback
(
nmi_callback_t
callback
)
...
...
drivers/parport/parport_cs.c
View file @
c51b4f46
...
...
@@ -43,6 +43,7 @@
#include <linux/string.h>
#include <linux/timer.h>
#include <linux/ioport.h>
#include <linux/major.h>
#include <linux/parport.h>
#include <linux/parport_pc.h>
...
...
include/asm-i386/hardirq.h
View file @
c51b4f46
...
...
@@ -76,6 +76,8 @@ typedef struct {
#define hardirq_endlock() do { } while (0)
#define irq_enter() (preempt_count() += HARDIRQ_OFFSET)
#define nmi_enter() (irq_enter())
#define nmi_exit() (preempt_count() -= HARDIRQ_OFFSET)
#if CONFIG_PREEMPT
# define in_atomic() ((preempt_count() & ~PREEMPT_ACTIVE) != kernel_locked())
...
...
kernel/pid.c
View file @
c51b4f46
...
...
@@ -131,7 +131,7 @@ int alloc_pidmap(void)
*/
scan_more:
offset
=
find_next_zero_bit
(
map
->
page
,
BITS_PER_PAGE
,
offset
);
if
(
offset
=
=
BITS_PER_PAGE
)
if
(
offset
>
=
BITS_PER_PAGE
)
goto
next_map
;
if
(
test_and_set_bit
(
offset
,
map
->
page
))
goto
scan_more
;
...
...
kernel/sched.c
View file @
c51b4f46
...
...
@@ -770,7 +770,7 @@ static void load_balance(runqueue_t *this_rq, int idle)
idx
=
sched_find_first_bit
(
array
->
bitmap
);
else
idx
=
find_next_bit
(
array
->
bitmap
,
MAX_PRIO
,
idx
);
if
(
idx
=
=
MAX_PRIO
)
{
if
(
idx
>
=
MAX_PRIO
)
{
if
(
array
==
busiest
->
expired
)
{
array
=
busiest
->
active
;
goto
new_array
;
...
...
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