Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
drm_hw_lock Struct Reference

#include <drm.h>

Data Fields

__volatile__ unsigned int lock
char padding [60]

Detailed Description

Hardware lock.

The lock structure is a simple cache-line aligned integer. To avoid processor bus contention on a multiprocessor system, there should not be any other data stored in the same cache line.

Definition at line 118 of file drm.h.

Field Documentation

__volatile__ unsigned int lock

lock variable

Definition at line 119 of file drm.h.

char padding[60]

Pad to cache line

Definition at line 120 of file drm.h.

The documentation for this struct was generated from the following file: