OpenCores
URL https://opencores.org/ocsvn/or1k_soc_on_altera_embedded_dev_kit/or1k_soc_on_altera_embedded_dev_kit/trunk

Subversion Repositories or1k_soc_on_altera_embedded_dev_kit

[/] [or1k_soc_on_altera_embedded_dev_kit/] [trunk/] [linux-2.6/] [linux-2.6.24/] [include/] [asm-generic/] [local.h] - Diff between revs 3 and 7

Show entire file | Details | Blame | View Log

Rev 3 Rev 7
Line 3... Line 3...
 
 
#include <linux/percpu.h>
#include <linux/percpu.h>
#include <linux/hardirq.h>
#include <linux/hardirq.h>
#include <asm/atomic.h>
#include <asm/atomic.h>
#include <asm/types.h>
#include <asm/types.h>
 
#include <linux/sched.h>
 
 
/*
/*
 * A signed long type for operations which are atomic for a single CPU.
 * A signed long type for operations which are atomic for a single CPU.
 * Usually used in combination with per-cpu variables.
 * Usually used in combination with per-cpu variables.
 *
 *
Line 17... Line 18...
 */
 */
 
 
/* Implement in terms of atomics. */
/* Implement in terms of atomics. */
 
 
/* Don't use typedef: don't want them to be mixed with atomic_t's. */
/* Don't use typedef: don't want them to be mixed with atomic_t's. */
 
 
typedef struct
typedef struct
{
{
        atomic_long_t a;
        atomic_long_t a;
} local_t;
} local_t;
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.