mirror of
https://github.com/torvalds/linux.git
synced 2024-12-30 14:52:05 +00:00
c68e5d39a5
This is the last non-trivial user of btfixup. Like sparc64, use a special patch section to resolve the various implementations of how to read the current CPU's ID when we don't have current_thread_info()->cpu necessarily available. Signed-off-by: David S. Miller <davem@davemloft.net> Tested-by: Sam Ravnborg <sam@ravnborg.org>
33 lines
643 B
C
33 lines
643 B
C
/*
|
|
* arch/sparc/kernel/ksyms.c: Sparc specific ksyms support.
|
|
*
|
|
* Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
|
|
* Copyright (C) 1996 Eddie C. Dost (ecd@skynet.be)
|
|
*/
|
|
|
|
#include <linux/module.h>
|
|
#include <linux/init.h>
|
|
|
|
#include <asm/pgtable.h>
|
|
#include <asm/uaccess.h>
|
|
#include <asm/delay.h>
|
|
#include <asm/head.h>
|
|
#include <asm/dma.h>
|
|
|
|
struct poll {
|
|
int fd;
|
|
short events;
|
|
short revents;
|
|
};
|
|
|
|
/* from entry.S */
|
|
EXPORT_SYMBOL(__udelay);
|
|
EXPORT_SYMBOL(__ndelay);
|
|
|
|
/* from head_32.S */
|
|
EXPORT_SYMBOL(__ret_efault);
|
|
EXPORT_SYMBOL(empty_zero_page);
|
|
|
|
/* Exporting a symbol from /init/main.c */
|
|
EXPORT_SYMBOL(saved_command_line);
|