aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/module.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2011-01-01 09:17:05 -0500
committerStefan Richter <stefanr@s5r6.in-berlin.de>2011-01-04 02:48:33 -0500
commit693a50b511818e07a131efc944cba1a504b63d3d (patch)
treef2791e96a50e10ec07223a9aa3b0719768221ca8 /arch/mips/kernel/module.c
parent386a4153a2c1455e424f280d636efa3c91864466 (diff)
firewire: ohci: consolidate context status flags
"firewire: ohci: restart iso DMA contexts on resume from low power mode" added the flag struct context.active and "firewire: ohci: cache the context run bit" added struct context.running. These flags contain the same information; combine them. Also, normalize whitespace in pci_resume(). Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'arch/mips/kernel/module.c')
0 files changed, 0 insertions, 0 deletions
l opt">); } while ((now - bclock) < loops); } inline void __const_udelay(unsigned long xloops) { unsigned long long loops; asm("mulu.d %0, %1, %2" : "=r"(loops) : "r"(current_cpu_data.loops_per_jiffy * HZ), "r"(xloops)); __delay(loops >> 32); } void __udelay(unsigned long usecs) { __const_udelay(usecs * 0x000010c7); /* 2**32 / 1000000 (rounded up) */ } void __ndelay(unsigned long nsecs) { __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ }