Becky Bruce | 1ac9f1f | 2007-08-15 04:45:44 +1000 | [diff] [blame] | 1 | #ifndef _ASM_POWERPC_LMB_H |
2 | #define _ASM_POWERPC_LMB_H | ||||
Paul Mackerras | 9b6b563 | 2005-10-06 12:06:20 +1000 | [diff] [blame] | 3 | |
David S. Miller | d9b2b2a | 2008-02-13 16:56:49 -0800 | [diff] [blame] | 4 | #include <asm/udbg.h> |
Paul Mackerras | 9b6b563 | 2005-10-06 12:06:20 +1000 | [diff] [blame] | 5 | |
David S. Miller | d9b2b2a | 2008-02-13 16:56:49 -0800 | [diff] [blame] | 6 | #define LMB_DBG(fmt...) udbg_printf(fmt) |
Paul Mackerras | 9b6b563 | 2005-10-06 12:06:20 +1000 | [diff] [blame] | 7 | |
David S. Miller | d9b2b2a | 2008-02-13 16:56:49 -0800 | [diff] [blame] | 8 | #ifdef CONFIG_PPC32 |
Kumar Gala | edc164d | 2008-04-16 05:52:24 +1000 | [diff] [blame^] | 9 | extern phys_addr_t lowmem_end_addr; |
10 | #define LMB_REAL_LIMIT lowmem_end_addr | ||||
David S. Miller | d9b2b2a | 2008-02-13 16:56:49 -0800 | [diff] [blame] | 11 | #else |
12 | #define LMB_REAL_LIMIT 0 | ||||
13 | #endif | ||||
Paul Mackerras | 9b6b563 | 2005-10-06 12:06:20 +1000 | [diff] [blame] | 14 | |
Becky Bruce | 1ac9f1f | 2007-08-15 04:45:44 +1000 | [diff] [blame] | 15 | #endif /* _ASM_POWERPC_LMB_H */ |