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
9d6cb0a2
Commit
9d6cb0a2
authored
Sep 13, 2003
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Plain Diff
Merge samba.org:/stuff/paulus/kernel/linux-2.5
into samba.org:/stuff/paulus/kernel/for-linus-ppc64
parents
7140df08
4e272fed
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
12 deletions
+16
-12
arch/ppc64/kernel/idle.c
arch/ppc64/kernel/idle.c
+0
-3
arch/ppc64/mm/numa.c
arch/ppc64/mm/numa.c
+14
-5
include/asm-ppc64/hardirq.h
include/asm-ppc64/hardirq.h
+0
-2
include/asm-ppc64/siginfo.h
include/asm-ppc64/siginfo.h
+2
-2
No files found.
arch/ppc64/kernel/idle.c
View file @
9d6cb0a2
...
...
@@ -84,8 +84,6 @@ int cpu_idle(void)
lpaca
=
get_paca
();
while
(
1
)
{
irq_stat
[
smp_processor_id
()].
idle_timestamp
=
jiffies
;
if
(
lpaca
->
xLpPaca
.
xSharedProc
)
{
if
(
ItLpQueue_isLpIntPending
(
lpaca
->
lpQueuePtr
))
process_iSeries_events
();
...
...
@@ -125,7 +123,6 @@ int cpu_idle(void)
long
oldval
;
while
(
1
)
{
irq_stat
[
smp_processor_id
()].
idle_timestamp
=
jiffies
;
oldval
=
test_and_clear_thread_flag
(
TIF_NEED_RESCHED
);
if
(
!
oldval
)
{
...
...
arch/ppc64/mm/numa.c
View file @
9d6cb0a2
...
...
@@ -306,6 +306,7 @@ void __init paging_init(void)
{
unsigned
long
zones_size
[
MAX_NR_ZONES
];
int
i
,
nid
;
struct
page
*
node_mem_map
;
for
(
i
=
1
;
i
<
MAX_NR_ZONES
;
i
++
)
zones_size
[
i
]
=
0
;
...
...
@@ -314,16 +315,24 @@ void __init paging_init(void)
unsigned
long
start_pfn
;
unsigned
long
end_pfn
;
if
(
node_data
[
nid
].
node_spanned_pages
==
0
)
continue
;
start_pfn
=
plat_node_bdata
[
nid
].
node_boot_start
>>
PAGE_SHIFT
;
end_pfn
=
plat_node_bdata
[
nid
].
node_low_pfn
;
zones_size
[
ZONE_DMA
]
=
end_pfn
-
start_pfn
;
dbg
(
"free_area_init node %d %lx %lx
\n
"
,
nid
,
zones_size
[
ZONE_DMA
],
start_pfn
);
free_area_init_node
(
nid
,
NODE_DATA
(
nid
),
NULL
,
zones_size
,
start_pfn
,
NULL
);
/*
* Give this empty node a dummy struct page to avoid
* us from trying to allocate a node local mem_map
* in free_area_init_node (which will fail).
*/
if
(
!
node_data
[
nid
].
node_spanned_pages
)
node_mem_map
=
alloc_bootmem
(
sizeof
(
struct
page
));
else
node_mem_map
=
NULL
;
free_area_init_node
(
nid
,
NODE_DATA
(
nid
),
node_mem_map
,
zones_size
,
start_pfn
,
NULL
);
}
}
include/asm-ppc64/hardirq.h
View file @
9d6cb0a2
...
...
@@ -15,9 +15,7 @@
typedef
struct
{
unsigned
int
__softirq_pending
;
unsigned
int
__syscall_count
;
struct
task_struct
*
__ksoftirqd_task
;
unsigned
long
idle_timestamp
;
}
____cacheline_aligned
irq_cpustat_t
;
#include <linux/irq_cpustat.h>
/* Standard mappings for irq_cpustat_t above */
...
...
include/asm-ppc64/siginfo.h
View file @
9d6cb0a2
...
...
@@ -8,7 +8,7 @@
* 2 of the License, or (at your option) any later version.
*/
#define
SI_PAD_SIZE ((SI_MAX_SIZE/sizeof(int)) - 4
)
#define
__ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int)
)
#define SI_PAD_SIZE32 ((SI_MAX_SIZE/sizeof(int)) - 3)
#include <asm-generic/siginfo.h>
...
...
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