Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
64c911a3
Commit
64c911a3
authored
Nov 13, 2007
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-2.6.24' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc into merge
parents
6e800af2
725fb29f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
arch/powerpc/Makefile
arch/powerpc/Makefile
+3
-0
arch/powerpc/sysdev/cpm_common.c
arch/powerpc/sysdev/cpm_common.c
+1
-3
include/asm-powerpc/tlbflush.h
include/asm-powerpc/tlbflush.h
+2
-2
No files found.
arch/powerpc/Makefile
View file @
64c911a3
...
@@ -107,6 +107,9 @@ endif
...
@@ -107,6 +107,9 @@ endif
# No AltiVec instruction when building kernel
# No AltiVec instruction when building kernel
KBUILD_CFLAGS
+=
$(
call
cc-option,-mno-altivec
)
KBUILD_CFLAGS
+=
$(
call
cc-option,-mno-altivec
)
# No SPE instruction when building kernel
KBUILD_CFLAGS
+=
$(
call
cc-option,-mno-spe
)
# Enable unit-at-a-time mode when possible. It shrinks the
# Enable unit-at-a-time mode when possible. It shrinks the
# kernel considerably.
# kernel considerably.
KBUILD_CFLAGS
+=
$(
call
cc-option,-funit-at-a-time
)
KBUILD_CFLAGS
+=
$(
call
cc-option,-funit-at-a-time
)
...
...
arch/powerpc/sysdev/cpm_common.c
View file @
64c911a3
...
@@ -77,8 +77,6 @@ int __init cpm_muram_init(void)
...
@@ -77,8 +77,6 @@ int __init cpm_muram_init(void)
int
i
=
0
;
int
i
=
0
;
int
ret
=
0
;
int
ret
=
0
;
printk
(
"cpm_muram_init
\n
"
);
spin_lock_init
(
&
cpm_muram_lock
);
spin_lock_init
(
&
cpm_muram_lock
);
/* initialize the info header */
/* initialize the info header */
rh_init
(
&
cpm_muram_info
,
1
,
rh_init
(
&
cpm_muram_info
,
1
,
...
@@ -193,7 +191,7 @@ void __iomem *cpm_muram_addr(unsigned long offset)
...
@@ -193,7 +191,7 @@ void __iomem *cpm_muram_addr(unsigned long offset)
EXPORT_SYMBOL
(
cpm_muram_addr
);
EXPORT_SYMBOL
(
cpm_muram_addr
);
/**
/**
* cpm_muram_
phys
- turn a muram virtual address into a DMA address
* cpm_muram_
dma
- turn a muram virtual address into a DMA address
* @offset: virtual address from cpm_muram_addr() to convert
* @offset: virtual address from cpm_muram_addr() to convert
*/
*/
dma_addr_t
cpm_muram_dma
(
void
__iomem
*
addr
)
dma_addr_t
cpm_muram_dma
(
void
__iomem
*
addr
)
...
...
include/asm-powerpc/tlbflush.h
View file @
64c911a3
...
@@ -44,13 +44,13 @@ static inline void flush_tlb_mm(struct mm_struct *mm)
...
@@ -44,13 +44,13 @@ static inline void flush_tlb_mm(struct mm_struct *mm)
static
inline
void
flush_tlb_page
(
struct
vm_area_struct
*
vma
,
static
inline
void
flush_tlb_page
(
struct
vm_area_struct
*
vma
,
unsigned
long
vmaddr
)
unsigned
long
vmaddr
)
{
{
_tlbie
(
vmaddr
,
vma
->
vm_mm
->
context
.
id
);
_tlbie
(
vmaddr
,
vma
?
vma
->
vm_mm
->
context
.
id
:
0
);
}
}
static
inline
void
flush_tlb_page_nohash
(
struct
vm_area_struct
*
vma
,
static
inline
void
flush_tlb_page_nohash
(
struct
vm_area_struct
*
vma
,
unsigned
long
vmaddr
)
unsigned
long
vmaddr
)
{
{
_tlbie
(
vmaddr
,
vma
->
vm_mm
->
context
.
id
);
_tlbie
(
vmaddr
,
vma
?
vma
->
vm_mm
->
context
.
id
:
0
);
}
}
static
inline
void
flush_tlb_range
(
struct
vm_area_struct
*
vma
,
static
inline
void
flush_tlb_range
(
struct
vm_area_struct
*
vma
,
...
...
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