git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
UBIFS: include to compilation
[pandora-kernel.git]
/
arch
/
ppc
/
boot
/
common
/
util.S
diff --git
a/arch/ppc/boot/common/util.S
b/arch/ppc/boot/common/util.S
index
c96c9f8
..
0c5e43c
100644
(file)
--- a/
arch/ppc/boot/common/util.S
+++ b/
arch/ppc/boot/common/util.S
@@
-1,6
+1,4
@@
/*
/*
- * arch/ppc/boot/common/util.S
- *
* Useful bootup functions, which are more easily done in asm than C.
*
* NOTE: Be very very careful about the registers you use here.
* Useful bootup functions, which are more easily done in asm than C.
*
* NOTE: Be very very careful about the registers you use here.
@@
-234,7
+232,8
@@
udelay:
* First, flush the data cache in case it was enabled and may be
* holding instructions for copy back.
*/
* First, flush the data cache in case it was enabled and may be
* holding instructions for copy back.
*/
-_GLOBAL(flush_instruction_cache)
+ .globl flush_instruction_cache
+flush_instruction_cache:
mflr r6
bl flush_data_cache
mflr r6
bl flush_data_cache
@@
-279,7
+278,8
@@
_GLOBAL(flush_instruction_cache)
* Flush data cache
* Do this by just reading lots of stuff into the cache.
*/
* Flush data cache
* Do this by just reading lots of stuff into the cache.
*/
-_GLOBAL(flush_data_cache)
+ .globl flush_data_cache
+flush_data_cache:
lis r3,cache_flush_buffer@h
ori r3,r3,cache_flush_buffer@l
li r4,NUM_CACHE_LINES
lis r3,cache_flush_buffer@h
ori r3,r3,cache_flush_buffer@l
li r4,NUM_CACHE_LINES