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
015498d5
Commit
015498d5
authored
May 27, 2003
by
Steven Cole
Committed by
Arnaldo Carvalho de Melo
May 27, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Use '#ifdef' to test for CONFIG options
parent
a8f1c677
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
arch/m68knommu/platform/68VZ328/de2/config.c
arch/m68knommu/platform/68VZ328/de2/config.c
+1
-1
arch/x86_64/kernel/reboot.c
arch/x86_64/kernel/reboot.c
+1
-1
kernel/sched.c
kernel/sched.c
+1
-1
No files found.
arch/m68knommu/platform/68VZ328/de2/config.c
View file @
015498d5
...
...
@@ -118,7 +118,7 @@ int dragen2_cs8900_setup(struct net_device *dev)
static
void
init_hardware
(
void
)
{
#if CONFIG_DIRECT_IO_ACCESS
#if
def
CONFIG_DIRECT_IO_ACCESS
SCR
=
0x10
;
/* allow user access to internal registers */
#endif
...
...
arch/x86_64/kernel/reboot.c
View file @
015498d5
...
...
@@ -124,7 +124,7 @@ void machine_restart(char * __unused)
{
int
i
;
#if CONFIG_SMP
#if
def
CONFIG_SMP
smp_halt
();
#endif
...
...
kernel/sched.c
View file @
015498d5
...
...
@@ -501,7 +501,7 @@ static int try_to_wake_up(task_t * p, unsigned int state, int sync, int kick)
}
success
=
1
;
}
#if CONFIG_SMP
#if
def
CONFIG_SMP
else
if
(
unlikely
(
kick
)
&&
task_running
(
rq
,
p
)
&&
(
p
->
thread_info
->
cpu
!=
smp_processor_id
()))
smp_send_reschedule
(
p
->
thread_info
->
cpu
);
...
...
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