x86/efi: Enforce CONFIG_RELOCATABLE for EFI boot stub
[linux/fpc-iii.git] / arch / alpha / lib / srm_puts.c
blob7b60a6f75a786a7ec40603fca1b26f62ee5ab9d4
1 /*
2 * arch/alpha/lib/srm_puts.c
3 */
5 #include <linux/string.h>
6 #include <asm/console.h>
8 long
9 srm_puts(const char *str, long len)
11 long remaining, written;
13 if (!callback_init_done)
14 return len;
16 for (remaining = len; remaining > 0; remaining -= written)
18 written = callback_puts(0, str, remaining);
19 written &= 0xffffffff;
20 str += written;
22 return len;