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
539cfeb0
Commit
539cfeb0
authored
Apr 26, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: fix compiler warnings
parent
d31f3431
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
18 deletions
+7
-18
arch/ppc64/kernel/pacaData.c
arch/ppc64/kernel/pacaData.c
+0
-1
arch/ppc64/kernel/pci_dma.c
arch/ppc64/kernel/pci_dma.c
+1
-15
arch/ppc64/kernel/signal.c
arch/ppc64/kernel/signal.c
+2
-0
arch/ppc64/kernel/signal32.c
arch/ppc64/kernel/signal32.c
+3
-1
arch/ppc64/mm/init.c
arch/ppc64/mm/init.c
+1
-1
No files found.
arch/ppc64/kernel/pacaData.c
View file @
539cfeb0
...
@@ -7,7 +7,6 @@
...
@@ -7,7 +7,6 @@
* 2 of the License, or (at your option) any later version.
* 2 of the License, or (at your option) any later version.
*/
*/
#define __KERNEL__
#include <asm/types.h>
#include <asm/types.h>
#include <asm/page.h>
#include <asm/page.h>
#include <stddef.h>
#include <stddef.h>
...
...
arch/ppc64/kernel/pci_dma.c
View file @
539cfeb0
...
@@ -107,19 +107,6 @@ static long test_tce_range( struct TceTable *,
...
@@ -107,19 +107,6 @@ static long test_tce_range( struct TceTable *,
long
tcenum
,
long
tcenum
,
unsigned
order
);
unsigned
order
);
static
unsigned
fill_scatterlist_sg
(
struct
scatterlist
*
sg
,
int
nents
,
dma_addr_t
dma_addr
,
unsigned
long
numTces
);
static
unsigned
long
num_tces_sg
(
struct
scatterlist
*
sg
,
int
nents
);
static
dma_addr_t
create_tces_sg
(
struct
TceTable
*
tbl
,
struct
scatterlist
*
sg
,
int
nents
,
unsigned
numTces
,
int
direction
);
static
void
getTceTableParmsiSeries
(
struct
iSeries_Device_Node
*
DevNode
,
static
void
getTceTableParmsiSeries
(
struct
iSeries_Device_Node
*
DevNode
,
struct
TceTable
*
tce_table_parms
);
struct
TceTable
*
tce_table_parms
);
...
@@ -1426,8 +1413,7 @@ int pci_map_sg(struct pci_dev *pdev, struct scatterlist *sglist, int nelems,
...
@@ -1426,8 +1413,7 @@ int pci_map_sg(struct pci_dev *pdev, struct scatterlist *sglist, int nelems,
int
i
;
int
i
;
for
(
i
=
0
;
i
<
nelems
;
i
++
)
{
for
(
i
=
0
;
i
<
nelems
;
i
++
)
{
unsigned
long
vaddr
=
(
page_address
(
sglist
->
page
)
+
void
*
vaddr
=
page_address
(
sglist
->
page
)
+
sglist
->
offset
;
sglist
->
offset
);
sglist
->
dma_address
=
pci_map_single
(
pdev
,
vaddr
,
sglist
->
dma_address
=
pci_map_single
(
pdev
,
vaddr
,
sglist
->
length
,
sglist
->
length
,
...
...
arch/ppc64/kernel/signal.c
View file @
539cfeb0
...
@@ -28,6 +28,8 @@
...
@@ -28,6 +28,8 @@
#include <linux/unistd.h>
#include <linux/unistd.h>
#include <linux/stddef.h>
#include <linux/stddef.h>
#include <linux/elf.h>
#include <linux/elf.h>
#include <linux/tty.h>
#include <linux/binfmts.h>
#include <asm/ppc32.h>
#include <asm/ppc32.h>
#include <asm/sigcontext.h>
#include <asm/sigcontext.h>
#include <asm/ucontext.h>
#include <asm/ucontext.h>
...
...
arch/ppc64/kernel/signal32.c
View file @
539cfeb0
...
@@ -43,10 +43,12 @@
...
@@ -43,10 +43,12 @@
#include <linux/personality.h>
#include <linux/personality.h>
#include <linux/stat.h>
#include <linux/stat.h>
#include <linux/filter.h>
#include <linux/filter.h>
#include <linux/tty.h>
#include <linux/binfmts.h>
#include <linux/elf.h>
#include <asm/types.h>
#include <asm/types.h>
#include <asm/ipc.h>
#include <asm/ipc.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>
#include <linux/elf.h>
#include <asm/ppc32.h>
#include <asm/ppc32.h>
#include <asm/ppcdebug.h>
#include <asm/ppcdebug.h>
#include <asm/unistd.h>
#include <asm/unistd.h>
...
...
arch/ppc64/mm/init.c
View file @
539cfeb0
...
@@ -157,7 +157,7 @@ ioremap(unsigned long addr, unsigned long size)
...
@@ -157,7 +157,7 @@ ioremap(unsigned long addr, unsigned long size)
#else
#else
if
(
mem_init_done
&&
(
addr
>>
60UL
))
{
if
(
mem_init_done
&&
(
addr
>>
60UL
))
{
if
(
IS_EEH_TOKEN_DISABLED
(
addr
))
if
(
IS_EEH_TOKEN_DISABLED
(
addr
))
return
IO_TOKEN_TO_ADDR
(
addr
);
return
(
void
*
)
IO_TOKEN_TO_ADDR
(
addr
);
return
(
void
*
)
addr
;
/* already mapped address or EEH token. */
return
(
void
*
)
addr
;
/* already mapped address or EEH token. */
}
}
return
__ioremap
(
addr
,
size
,
_PAGE_NO_CACHE
);
return
__ioremap
(
addr
,
size
,
_PAGE_NO_CACHE
);
...
...
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