ia64/linux-2.6.18-xen.hg

annotate include/asm-arm/mtd-xip.h @ 782:9ab1c319531f

merge with linux-2.6.18-xen.hg
author Isaku Yamahata <yamahata@valinux.co.jp>
date Wed Jan 28 13:07:23 2009 +0900 (2009-01-28)
parents 831230e53067
children
rev   line source
ian@0 1 /*
ian@0 2 * MTD primitives for XIP support. Architecture specific functions
ian@0 3 *
ian@0 4 * Do not include this file directly. It's included from linux/mtd/xip.h
ian@0 5 *
ian@0 6 * Author: Nicolas Pitre
ian@0 7 * Created: Nov 2, 2004
ian@0 8 * Copyright: (C) 2004 MontaVista Software, Inc.
ian@0 9 *
ian@0 10 * This program is free software; you can redistribute it and/or modify
ian@0 11 * it under the terms of the GNU General Public License version 2 as
ian@0 12 * published by the Free Software Foundation.
ian@0 13 *
ian@0 14 * $Id: xip.h,v 1.2 2004/12/01 15:49:10 nico Exp $
ian@0 15 */
ian@0 16
ian@0 17 #ifndef __ARM_MTD_XIP_H__
ian@0 18 #define __ARM_MTD_XIP_H__
ian@0 19
ian@0 20 #include <asm/hardware.h>
ian@0 21 #include <asm/arch/mtd-xip.h>
ian@0 22
ian@0 23 /* fill instruction prefetch */
ian@0 24 #define xip_iprefetch() do { asm volatile (".rep 8; nop; .endr"); } while (0)
ian@0 25
ian@0 26 #endif /* __ARM_MTD_XIP_H__ */