Skip to content

Commit eb2bce7

Browse files
Ivan KokshayskyLinus Torvalds
authored andcommitted
ALPHA: fix BOOTP image creation
Files: arch/alpha/boot/bootpz.c Create a dummy "__kmalloc()" to satisfy the loader; never called. arch/alpha/boot/tools/objstrip.c Remove an include that is now (2.6.x) unnecessary. Signed-off-by: Jay Estabrook <jay.estabrook@hp.com> Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Richard Henderson <rth@twiddle.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 180e53a commit eb2bce7

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

‎arch/alpha/boot/bootpz.c‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,3 +467,9 @@ start_kernel(void)
467467
#endif
468468
runkernel();
469469
}
470+
471+
/* dummy function, should never be called. */
472+
void *__kmalloc(size_t size, gfp_t flags)
473+
{
474+
return (void *)NULL;
475+
}

‎arch/alpha/boot/tools/objstrip.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
#include <linux/a.out.h>
2626
#include <linux/coff.h>
2727
#include <linux/param.h>
28-
#include <linux/string.h>
2928
#ifdef __ELF__
3029
# include <linux/elf.h>
3130
#endif

0 commit comments

Comments
 (0)