sparc32: fix sparse warnings in ioport.c
[deliverable/linux.git] / arch / sparc / include / asm / setup.h
... / ...
CommitLineData
1/*
2 * Just a place holder.
3 */
4#ifndef _SPARC_SETUP_H
5#define _SPARC_SETUP_H
6
7#include <linux/interrupt.h>
8
9#include <uapi/asm/setup.h>
10
11extern char reboot_command[];
12
13#ifdef CONFIG_SPARC32
14/* The CPU that was used for booting
15 * Only sun4d + leon may have boot_cpu_id != 0
16 */
17extern unsigned char boot_cpu_id;
18
19extern unsigned long empty_zero_page;
20
21extern int serial_console;
22static inline int con_is_present(void)
23{
24 return serial_console ? 0 : 1;
25}
26
27/* from irq_32.c */
28extern volatile unsigned char *fdc_status;
29extern char *pdma_vaddr;
30extern unsigned long pdma_size;
31extern volatile int doing_pdma;
32
33/* This is software state */
34extern char *pdma_base;
35extern unsigned long pdma_areasize;
36
37int sparc_floppy_request_irq(unsigned int irq, irq_handler_t irq_handler);
38
39#endif
40
41extern void sun_do_break(void);
42extern int stop_a_enabled;
43extern int scons_pwroff;
44
45#endif /* _SPARC_SETUP_H */
This page took 0.044336 seconds and 5 git commands to generate.