~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/x86/include/asm/vsyscall.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
#ifdef __KERNEL__
17
17
#include <linux/seqlock.h>
18
18
 
19
 
#define __section_vgetcpu_mode __attribute__ ((unused, __section__ (".vgetcpu_mode"), aligned(16)))
20
 
#define __section_jiffies __attribute__ ((unused, __section__ (".jiffies"), aligned(16)))
21
 
 
22
19
/* Definitions for CONFIG_GENERIC_TIME definitions */
23
 
#define __section_vsyscall_gtod_data __attribute__ \
24
 
        ((unused, __section__ (".vsyscall_gtod_data"),aligned(16)))
25
 
#define __section_vsyscall_clock __attribute__ \
26
 
        ((unused, __section__ (".vsyscall_clock"),aligned(16)))
27
20
#define __vsyscall_fn \
28
21
        __attribute__ ((unused, __section__(".vsyscall_fn"))) notrace
29
22
 
30
23
#define VGETCPU_RDTSCP  1
31
24
#define VGETCPU_LSL     2
32
25
 
33
 
extern int __vgetcpu_mode;
34
 
extern volatile unsigned long __jiffies;
35
 
 
36
26
/* kernel space (writeable) */
37
27
extern int vgetcpu_mode;
38
28
extern struct timezone sys_tz;
39
29
 
 
30
#include <asm/vvar.h>
 
31
 
40
32
extern void map_vsyscall(void);
41
33
 
42
 
#ifdef CONFIG_X86_64
43
 
extern void update_trace_clock_is_sync_vdso(void);
44
 
#else
45
 
static inline void update_trace_clock_is_sync_vdso(void)
46
 
{
47
 
}
48
 
#endif
49
 
 
50
34
#endif /* __KERNEL__ */
51
35
 
52
36
#endif /* _ASM_X86_VSYSCALL_H */