Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts: drivers/mtd/mtdcore.c Pull in the bdi fixes and ARM platform changes that other outstanding patches depend on.
This commit is contained in:
@@ -60,7 +60,13 @@ static void orion_nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len)
|
||||
}
|
||||
buf64 = (uint64_t *)buf;
|
||||
while (i < len/8) {
|
||||
uint64_t x;
|
||||
/*
|
||||
* Since GCC has no proper constraint (PR 43518)
|
||||
* force x variable to r2/r3 registers as ldrd instruction
|
||||
* requires first register to be even.
|
||||
*/
|
||||
register uint64_t x asm ("r2");
|
||||
|
||||
asm volatile ("ldrd\t%0, [%1]" : "=&r" (x) : "r" (io_base));
|
||||
buf64[i++] = x;
|
||||
}
|
||||
|
Reference in New Issue
Block a user