From d70d60529f77ec73322be7b887fd6a3faf133bce Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 6 Oct 2009 12:40:42 -0700 Subject: intel: Reformat to the kernel coding style. Welcome to the 8-space future. This is done with: Lindent *.[ch] perl -pi -e 's|drm_intel_bo \* |drm_intel_bo *|g' *.[ch] perl -pi -e 's|drm_intel_bufmgr \* |drm_intel_bufmgr *|g' *.[ch] perl -pi -e 's|drm_intel_bo_gem \* |drm_intel_bo_gem *|g' *.[ch] perl -pi -e 's|drm_intel_bufmgr_gem \* |drm_intel_bufmgr_gem *|g' *.[ch] perl -pi -e 's|_fake \* |_fake *|g' *.[ch] hand-editing to whack indented comments into line and other touchups. --- libdrm/intel/mm.h | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'libdrm/intel/mm.h') diff --git a/libdrm/intel/mm.h b/libdrm/intel/mm.h index 49e3eecc..8a5235b0 100644 --- a/libdrm/intel/mm.h +++ b/libdrm/intel/mm.h @@ -21,23 +21,21 @@ * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ - /** * Memory manager code. Primarily used by device drivers to manage texture * heaps, etc. */ - #ifndef MM_H #define MM_H struct mem_block { - struct mem_block *next, *prev; - struct mem_block *next_free, *prev_free; - struct mem_block *heap; - int ofs,size; - unsigned int free:1; - unsigned int reserved:1; + struct mem_block *next, *prev; + struct mem_block *next_free, *prev_free; + struct mem_block *heap; + int ofs, size; + unsigned int free:1; + unsigned int reserved:1; }; /* Rename the variables in the drm copy of this code so that it doesn't @@ -67,7 +65,7 @@ extern struct mem_block *mmInit(int ofs, int size); * return: pointer to the allocated block, 0 if error */ extern struct mem_block *mmAllocMem(struct mem_block *heap, int size, - int align2, int startSearch); + int align2, int startSearch); /** * Free block starts at offset -- cgit v1.2.3