proc-fns.h (6ad390a25a9d1d8606b9b826878f0a30639dc2b3) proc-fns.h (1fdb24e969110fafea36d3b393bea438f702c87f)
1/*
2 * arch/arm/include/asm/proc-fns.h
3 *
4 * Copyright (C) 1997-1999 Russell King
5 * Copyright (C) 2000 Deep Blue Solutions Ltd
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

--- 67 unchanged lines hidden (view full) ---

76#ifndef MULTI_CPU
77extern void cpu_proc_init(void);
78extern void cpu_proc_fin(void);
79extern int cpu_do_idle(void);
80extern void cpu_dcache_clean_area(void *, int);
81extern void cpu_do_switch_mm(unsigned long pgd_phys, struct mm_struct *mm);
82extern void cpu_set_pte_ext(pte_t *ptep, pte_t pte, unsigned int ext);
83extern void cpu_reset(unsigned long addr) __attribute__((noreturn));
1/*
2 * arch/arm/include/asm/proc-fns.h
3 *
4 * Copyright (C) 1997-1999 Russell King
5 * Copyright (C) 2000 Deep Blue Solutions Ltd
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

--- 67 unchanged lines hidden (view full) ---

76#ifndef MULTI_CPU
77extern void cpu_proc_init(void);
78extern void cpu_proc_fin(void);
79extern int cpu_do_idle(void);
80extern void cpu_dcache_clean_area(void *, int);
81extern void cpu_do_switch_mm(unsigned long pgd_phys, struct mm_struct *mm);
82extern void cpu_set_pte_ext(pte_t *ptep, pte_t pte, unsigned int ext);
83extern void cpu_reset(unsigned long addr) __attribute__((noreturn));
84
85/* These three are private to arch/arm/kernel/suspend.c */
86extern void cpu_do_suspend(void *);
87extern void cpu_do_resume(void *);
84#else
85#define cpu_proc_init processor._proc_init
86#define cpu_proc_fin processor._proc_fin
87#define cpu_reset processor.reset
88#define cpu_do_idle processor._do_idle
89#define cpu_dcache_clean_area processor.dcache_clean_area
90#define cpu_set_pte_ext processor.set_pte_ext
91#define cpu_do_switch_mm processor.switch_mm
88#else
89#define cpu_proc_init processor._proc_init
90#define cpu_proc_fin processor._proc_fin
91#define cpu_reset processor.reset
92#define cpu_do_idle processor._do_idle
93#define cpu_dcache_clean_area processor.dcache_clean_area
94#define cpu_set_pte_ext processor.set_pte_ext
95#define cpu_do_switch_mm processor.switch_mm
96
97/* These three are private to arch/arm/kernel/suspend.c */
98#define cpu_do_suspend processor.do_suspend
99#define cpu_do_resume processor.do_resume
92#endif
93
94extern void cpu_resume(void);
95
96#include <asm/memory.h>
97
98#ifdef CONFIG_MMU
99

--- 16 unchanged lines hidden ---
100#endif
101
102extern void cpu_resume(void);
103
104#include <asm/memory.h>
105
106#ifdef CONFIG_MMU
107

--- 16 unchanged lines hidden ---