Prev: [PATCH 1/7] MIPS: Add drotr32 and uasm_i_drotr_safe to uasm.
Next: [PATCH 3/7] MIPS: Add option to export uasm API.
From: David Daney on 23 Jul 2010 21:50 The forthcoming watchdog driver will use it. Signed-off-by: David Daney <ddaney(a)caviumnetworks.com> --- arch/mips/cavium-octeon/setup.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/arch/mips/cavium-octeon/setup.c b/arch/mips/cavium-octeon/setup.c index 6f36bc1..85a615a 100644 --- a/arch/mips/cavium-octeon/setup.c +++ b/arch/mips/cavium-octeon/setup.c @@ -691,7 +691,10 @@ void __init plat_mem_setup(void) "cvmx_bootmem_phy_alloc\n"); } - +/* + * Emit one character to the boot UART. Exported for use by the + * watchdog timer. + */ int prom_putchar(char c) { uint64_t lsrval; @@ -705,6 +708,7 @@ int prom_putchar(char c) cvmx_write_csr(CVMX_MIO_UARTX_THR(octeon_uart), c & 0xffull); return 1; } +EXPORT_SYMBOL(prom_putchar); void prom_free_prom_memory(void) { -- 1.7.1.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |