[xtensa-cvscommit] linux/arch/xtensa/kernel head.S,1.1.1.1,1.2
Brought to you by:
zankel
|
From: <joe...@us...> - 2002-12-16 21:17:55
|
Update of /cvsroot/xtensa/linux/arch/xtensa/kernel In directory sc8-pr-cvs1:/tmp/cvs-serv19414 Modified Files: head.S Log Message: If caches are writeback, flush them after unpacking the text/data sections to ensure the data is available from memory thereafter. Index: head.S =================================================================== RCS file: /cvsroot/xtensa/linux/arch/xtensa/kernel/head.S,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** head.S 28 Aug 2002 16:10:14 -0000 1.1.1.1 --- head.S 16 Dec 2002 21:17:49 -0000 1.2 *************** *** 393,396 **** --- 393,404 ---- 1: + #if XCHAL_DCACHE_IS_WRITEBACK + + /* After unpacking, flush the writeback cache to memory so the + * instructions/data are available. */ + + dcache_writeback_all a3, a4 + #endif + #ifdef CONFIG_BLK_DEV_INITRD *************** *** 411,415 **** wsr a0, MISC_REG_1 #endif - _setup_stack: --- 419,422 ---- |