Skip to content

Commit

Permalink
[PATCH] x86-64: Move mtrr prototypes from proto.h to mtrr.h
Browse files Browse the repository at this point in the history
Signed-off-by: Andi Kleen <ak@suse.de>
  • Loading branch information
Andi Kleen authored and Andi Kleen committed May 2, 2007
1 parent 03df4f6 commit 856f44f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 8 additions & 0 deletions include/asm-x86_64/mtrr.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,14 @@ struct mtrr_gentry32

#endif /* CONFIG_COMPAT */

#ifdef CONFIG_MTRR
extern void mtrr_ap_init(void);
extern void mtrr_bp_init(void);
#else
#define mtrr_ap_init() do {} while (0)
#define mtrr_bp_init() do {} while (0)
#endif

#endif /* __KERNEL__ */

#endif /* _LINUX_MTRR_H */
7 changes: 0 additions & 7 deletions include/asm-x86_64/proto.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ extern void pda_init(int);
extern void early_idt_handler(void);

extern void mcheck_init(struct cpuinfo_x86 *c);
#ifdef CONFIG_MTRR
extern void mtrr_ap_init(void);
extern void mtrr_bp_init(void);
#else
#define mtrr_ap_init() do {} while (0)
#define mtrr_bp_init() do {} while (0)
#endif
extern void init_memory_mapping(unsigned long start, unsigned long end);

extern void system_call(void);
Expand Down

0 comments on commit 856f44f

Please sign in to comment.