[PATCH] dvb: saa7134-dvb must select tda1004x
[linux-ginger.git] / include / asm-x86_64 / proto.h
blob6c813eb521f339f363a71e21caca53ba204bfcf8
1 #ifndef _ASM_X8664_PROTO_H
2 #define _ASM_X8664_PROTO_H 1
4 #include <asm/ldt.h>
6 /* misc architecture specific prototypes */
8 struct cpuinfo_x86;
9 struct pt_regs;
11 extern void get_cpu_vendor(struct cpuinfo_x86*);
12 extern void start_kernel(void);
13 extern void pda_init(int);
15 extern void early_idt_handler(void);
17 extern void mcheck_init(struct cpuinfo_x86 *c);
18 #ifdef CONFIG_MTRR
19 extern void mtrr_ap_init(void);
20 extern void mtrr_bp_init(void);
21 #else
22 #define mtrr_ap_init() do {} while (0)
23 #define mtrr_bp_init() do {} while (0)
24 #endif
25 extern void init_memory_mapping(unsigned long start, unsigned long end);
27 extern void system_call(void);
28 extern int kernel_syscall(void);
29 extern void syscall_init(void);
31 extern void ia32_syscall(void);
32 extern void ia32_cstar_target(void);
33 extern void ia32_sysenter_target(void);
35 extern void config_acpi_tables(void);
36 extern void ia32_syscall(void);
37 extern void iommu_hole_init(void);
39 extern void time_init_gtod(void);
40 extern int pmtimer_mark_offset(void);
41 extern unsigned int do_gettimeoffset_pm(void);
42 extern u32 pmtmr_ioport;
43 extern unsigned long long monotonic_base;
44 extern int sysctl_vsyscall;
46 extern void do_softirq_thunk(void);
48 extern int numa_setup(char *opt);
50 extern int setup_early_printk(char *);
51 extern void early_printk(const char *fmt, ...) __attribute__((format(printf,1,2)));
53 extern void early_identify_cpu(struct cpuinfo_x86 *c);
55 extern int k8_scan_nodes(unsigned long start, unsigned long end);
57 extern void numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn);
58 extern unsigned long numa_free_all_bootmem(void);
60 extern void reserve_bootmem_generic(unsigned long phys, unsigned len);
61 extern void free_bootmem_generic(unsigned long phys, unsigned len);
63 extern void load_gs_index(unsigned gs);
65 extern unsigned long end_pfn_map;
67 extern cpumask_t cpu_initialized;
69 extern void show_trace(unsigned long * rsp);
70 extern void show_registers(struct pt_regs *regs);
72 extern void exception_table_check(void);
74 extern void acpi_reserve_bootmem(void);
76 extern void swap_low_mappings(void);
78 extern void oops_begin(void);
79 extern void die(const char *,struct pt_regs *,long);
80 extern void __die(const char * str, struct pt_regs * regs, long err);
81 extern void __show_regs(struct pt_regs * regs);
82 extern void show_regs(struct pt_regs * regs);
84 extern char *syscall32_page;
85 extern void syscall32_cpu_init(void);
87 extern void setup_node_bootmem(int nodeid, unsigned long start, unsigned long end);
89 extern void check_ioapic(void);
90 extern void check_efer(void);
92 extern int unhandled_signal(struct task_struct *tsk, int sig);
94 extern void select_idle_routine(const struct cpuinfo_x86 *c);
95 extern void swiotlb_init(void);
97 extern unsigned long max_mapnr;
98 extern unsigned long end_pfn;
99 extern unsigned long table_start, table_end;
101 extern int exception_trace;
102 extern int force_iommu, no_iommu;
103 extern int using_apic_timer;
104 extern int disable_apic;
105 extern unsigned cpu_khz;
106 extern int ioapic_force;
107 extern int skip_ioapic_setup;
108 extern int acpi_ht;
109 extern int acpi_disabled;
111 extern int fallback_aper_order;
112 extern int fallback_aper_force;
113 extern int iommu_aperture;
114 extern int iommu_aperture_disabled;
115 extern int iommu_aperture_allowed;
116 extern int fix_aperture;
117 extern int force_iommu;
119 extern int reboot_force;
121 extern void smp_local_timer_interrupt(struct pt_regs * regs);
123 long do_arch_prctl(struct task_struct *task, int code, unsigned long addr);
125 #define round_up(x,y) (((x) + (y) - 1) & ~((y)-1))
126 #define round_down(x,y) ((x) & ~((y)-1))
128 #endif