setup.h (03351ff4d897098a590cb247b6eebc470b8ecb5a) setup.h (9eb8f6743b076b67f00776cda4330c802e157b41)
1/*
2 * linux/include/asm/setup.h
3 *
4 * Copyright (C) 1997-1999 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

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

212
213#define bank_pfn_start(bank) __phys_to_pfn((bank)->start)
214#define bank_pfn_end(bank) __phys_to_pfn((bank)->start + (bank)->size)
215#define bank_pfn_size(bank) ((bank)->size >> PAGE_SHIFT)
216#define bank_phys_start(bank) (bank)->start
217#define bank_phys_end(bank) ((bank)->start + (bank)->size)
218#define bank_phys_size(bank) (bank)->size
219
1/*
2 * linux/include/asm/setup.h
3 *
4 * Copyright (C) 1997-1999 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

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

212
213#define bank_pfn_start(bank) __phys_to_pfn((bank)->start)
214#define bank_pfn_end(bank) __phys_to_pfn((bank)->start + (bank)->size)
215#define bank_pfn_size(bank) ((bank)->size >> PAGE_SHIFT)
216#define bank_phys_start(bank) (bank)->start
217#define bank_phys_end(bank) ((bank)->start + (bank)->size)
218#define bank_phys_size(bank) (bank)->size
219
220extern int arm_add_memory(phys_addr_t start, unsigned long size);
221
220#endif /* __KERNEL__ */
221
222#endif
222#endif /* __KERNEL__ */
223
224#endif