[PATCH] x86: Add the check for all the cores in a package in cache information
[linux-2.6/next.git] / include / asm-frv / sections.h
blob17d0fb171bba7f282e8db329862da5c0e4084604
1 /* sections.h: linkage layout variables
3 * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version
9 * 2 of the License, or (at your option) any later version.
12 #ifndef _ASM_SECTIONS_H
13 #define _ASM_SECTIONS_H
15 #ifndef __ASSEMBLY__
17 #include <linux/types.h>
18 #include <asm-generic/sections.h>
20 #ifdef __KERNEL__
23 * we don't want to put variables in the GP-REL section if they're not used very much - that would
24 * be waste since GP-REL addressing is limited to GP16+/-2048
26 #define __nongpreldata __attribute__((section(".data")))
27 #define __nongprelbss __attribute__((section(".bss")))
30 * linker symbols
32 extern const void __kernel_image_start, __kernel_image_end, __page_offset;
34 extern unsigned long __nongprelbss memory_start;
35 extern unsigned long __nongprelbss memory_end;
36 extern unsigned long __nongprelbss rom_length;
38 /* determine if we're running from ROM */
39 static inline int is_in_rom(unsigned long addr)
41 return 0; /* default case: not in ROM */
44 #endif
45 #endif
46 #endif /* _ASM_SECTIONS_H */