https://github.com/torvalds/linux
Revision d29387e8de8bdf64374874112b2b1540d3ada674 authored by Randy Dunlap on 17 November 2011, 02:17:03 UTC, committed by Linus Torvalds on 17 November 2011, 12:29:02 UTC
Fix x86 allyesconfig builds.  Builds fail due to a non-static variable
named 'debug' in drivers/staging/media/as102:

  arch/x86/built-in.o:arch/x86/kernel/entry_32.S:1296: first defined here
  ld: Warning: size of symbol `debug' changed from 90 in arch/x86/built-in.o to 4 in drivers/built-in.o

Thou shalt have no non-static identifiers that are named 'debug'.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: Pierrick Hascoet <pierrick.hascoet@abilis.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 6aaf05f
Raw File
Tip revision: d29387e8de8bdf64374874112b2b1540d3ada674 authored by Randy Dunlap on 17 November 2011, 02:17:03 UTC
media/staging: fix allyesconfig build error
Tip revision: d29387e
dump_stack.c
/*
 * Provide a default dump_stack() function for architectures
 * which don't implement their own.
 */

#include <linux/kernel.h>
#include <linux/module.h>

void dump_stack(void)
{
	printk(KERN_NOTICE
		"This architecture does not implement dump_stack()\n");
}

EXPORT_SYMBOL(dump_stack);
back to top