x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / powerpc / include / asm / fs_pd.h
blobf79d6c74eb2a0e9e63a3d35e8e2ce147c165c382
1 /*
2 * Platform information definitions.
4 * 2006 (c) MontaVista Software, Inc.
5 * Vitaly Bordug <vbordug@ru.mvista.com>
7 * This file is licensed under the terms of the GNU General Public License
8 * version 2. This program is licensed "as is" without any warranty of any
9 * kind, whether express or implied.
12 #ifndef FS_PD_H
13 #define FS_PD_H
14 #include <sysdev/fsl_soc.h>
15 #include <asm/time.h>
17 #ifdef CONFIG_CPM2
18 #include <asm/cpm2.h>
20 #if defined(CONFIG_8260)
21 #include <asm/mpc8260.h>
22 #endif
24 #define cpm2_map(member) (&cpm2_immr->member)
25 #define cpm2_map_size(member, size) (&cpm2_immr->member)
26 #define cpm2_unmap(addr) do {} while(0)
27 #endif
29 #ifdef CONFIG_8xx
30 #include <asm/8xx_immap.h>
32 extern immap_t __iomem *mpc8xx_immr;
34 #define immr_map(member) (&mpc8xx_immr->member)
35 #define immr_map_size(member, size) (&mpc8xx_immr->member)
36 #define immr_unmap(addr) do {} while (0)
37 #endif
39 static inline int uart_baudrate(void)
41 return get_baudrate();
44 static inline int uart_clock(void)
46 return ppc_proc_freq;
49 #endif