[ARM] 4340/1: iop: fix iop_getttimeoffset
[linux-2.6/s3c2410-cpufreq.git] / include / asm-x86_64 / proto.h
blobb6e65a699f2af833bf9c01b0d5671321ff216925
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 start_kernel(void);
12 extern void pda_init(int);
14 extern void zap_low_mappings(int cpu);
16 extern void early_idt_handler(void);
18 extern void mcheck_init(struct cpuinfo_x86 *c);
19 #ifdef CONFIG_MTRR
20 extern void mtrr_ap_init(void);
21 extern void mtrr_bp_init(void);
22 #else
23 #define mtrr_ap_init() do {} while (0)
24 #define mtrr_bp_init() do {} while (0)
25 #endif
26 extern void init_memory_mapping(unsigned long start, unsigned long end);
28 extern void system_call(void);
29 extern int kernel_syscall(void);
30 extern void syscall_init(void);
32 extern void ia32_syscall(void);
33 extern void ia32_cstar_target(void);
34 extern void ia32_sysenter_target(void);
36 extern void config_acpi_tables(void);
37 extern void ia32_syscall(void);
39 extern int pmtimer_mark_offset(void);
40 extern void pmtimer_resume(void);
41 extern void pmtimer_wait(unsigned);
42 extern unsigned int do_gettimeoffset_pm(void);
43 #ifdef CONFIG_X86_PM_TIMER
44 extern u32 pmtmr_ioport;
45 #else
46 #define pmtmr_ioport 0
47 #endif
48 extern int nohpet;
50 extern void early_printk(const char *fmt, ...) __attribute__((format(printf,1,2)));
52 extern void early_identify_cpu(struct cpuinfo_x86 *c);
54 extern int k8_scan_nodes(unsigned long start, unsigned long end);
56 extern void numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn);
57 extern unsigned long numa_free_all_bootmem(void);
59 extern void reserve_bootmem_generic(unsigned long phys, unsigned len);
61 extern void load_gs_index(unsigned gs);
63 extern void stop_timer_interrupt(void);
64 extern void main_timer_handler(void);
66 extern unsigned long end_pfn_map;
68 extern void show_trace(struct task_struct *, struct pt_regs *, unsigned long * rsp);
69 extern void show_registers(struct pt_regs *regs);
71 extern void exception_table_check(void);
73 extern void acpi_reserve_bootmem(void);
75 extern void swap_low_mappings(void);
77 extern void __show_regs(struct pt_regs * regs);
78 extern void show_regs(struct pt_regs * regs);
80 extern void syscall32_cpu_init(void);
82 extern void setup_node_bootmem(int nodeid, unsigned long start, unsigned long end);
84 extern void early_quirks(void);
85 extern void quirk_intel_irqbalance(void);
86 extern void check_efer(void);
88 extern int unhandled_signal(struct task_struct *tsk, int sig);
90 extern void select_idle_routine(const struct cpuinfo_x86 *c);
92 extern unsigned long table_start, table_end;
94 extern int exception_trace;
95 extern unsigned cpu_khz;
97 extern void no_iommu_init(void);
98 extern int force_iommu, no_iommu;
99 extern int iommu_detected;
100 #ifdef CONFIG_IOMMU
101 extern void gart_iommu_init(void);
102 extern void __init gart_parse_options(char *);
103 extern void iommu_hole_init(void);
104 extern int fallback_aper_order;
105 extern int fallback_aper_force;
106 extern int iommu_aperture;
107 extern int iommu_aperture_allowed;
108 extern int iommu_aperture_disabled;
109 extern int fix_aperture;
110 #else
111 #define iommu_aperture 0
112 #define iommu_aperture_allowed 0
113 #endif
115 extern int reboot_force;
116 extern int notsc_setup(char *);
118 extern int timer_over_8254;
120 extern int gsi_irq_sharing(int gsi);
122 extern void smp_local_timer_interrupt(void);
124 long do_arch_prctl(struct task_struct *task, int code, unsigned long addr);
126 #define round_up(x,y) (((x) + (y) - 1) & ~((y)-1))
127 #define round_down(x,y) ((x) & ~((y)-1))
129 #endif