diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-06-23 02:04:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 07:42:56 -0700 |
commit | 27b07da7332f03a935cd13b6a6beb780bf19e7a4 (patch) | |
tree | a00fe04fbf8bb90fc3facb8b6b499f0f9dca3d77 /include/asm-i386/mtrr.h | |
parent | 87af2ffd4ccd0e6a2ff316fd008a9bedb4a4cb66 (diff) | |
download | blackbird-op-linux-27b07da7332f03a935cd13b6a6beb780bf19e7a4.tar.gz blackbird-op-linux-27b07da7332f03a935cd13b6a6beb780bf19e7a4.zip |
[PATCH] Don't trigger full rebuild via CONFIG_MTRR
Only drm, framebuffer, mtrr parts + misc files here and there.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-i386/mtrr.h')
-rw-r--r-- | include/asm-i386/mtrr.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-i386/mtrr.h b/include/asm-i386/mtrr.h index 5a46de08efea..07f063ae26ea 100644 --- a/include/asm-i386/mtrr.h +++ b/include/asm-i386/mtrr.h @@ -76,6 +76,8 @@ extern int mtrr_add_page (unsigned long base, unsigned long size, extern int mtrr_del (int reg, unsigned long base, unsigned long size); extern int mtrr_del_page (int reg, unsigned long base, unsigned long size); extern void mtrr_centaur_report_mcr(int mcr, u32 lo, u32 hi); +extern void mtrr_ap_init(void); +extern void mtrr_bp_init(void); # else static __inline__ int mtrr_add (unsigned long base, unsigned long size, unsigned int type, char increment) @@ -100,6 +102,8 @@ static __inline__ int mtrr_del_page (int reg, unsigned long base, static __inline__ void mtrr_centaur_report_mcr(int mcr, u32 lo, u32 hi) {;} +#define mtrr_ap_init() do {} while (0) +#define mtrr_bp_init() do {} while (0) # endif #endif |