The uClinux MTD device uses _ebss, add the symbol and corresponding
export.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
#include <linux/vmalloc.h>
#include <linux/pci.h>
#include <linux/irq.h>
#include <linux/vmalloc.h>
#include <linux/pci.h>
#include <linux/irq.h>
+#include <asm/sections.h>
#include <asm/semaphore.h>
#include <asm/processor.h>
#include <asm/uaccess.h>
#include <asm/semaphore.h>
#include <asm/processor.h>
#include <asm/uaccess.h>
#endif
EXPORT_SYMBOL(clear_page);
EXPORT_SYMBOL(__clear_user);
#endif
EXPORT_SYMBOL(clear_page);
EXPORT_SYMBOL(__clear_user);
*(.bss.page_aligned)
*(.bss)
. = ALIGN(4);
*(.bss.page_aligned)
*(.bss)
. = ALIGN(4);
+ _ebss = .; /* uClinux MTD sucks */
#include <asm-generic/sections.h>
extern long __machvec_start, __machvec_end;
#include <asm-generic/sections.h>
extern long __machvec_start, __machvec_end;
#endif /* __ASM_SH_SECTIONS_H */
#endif /* __ASM_SH_SECTIONS_H */