Changeset 2d96f4d in mainline for kernel/arch/ia32/include/barrier.h


Ignore:
Timestamp:
2009-02-15T15:31:35Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
76dd25b
Parents:
ee06f2a
Message:

Fix ia32 build for Pentium 3 systems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/include/barrier.h

    ree06f2a r2d96f4d  
    5959}
    6060
    61 #ifdef CONFIG_FENCES_P4
     61#if defined(CONFIG_FENCES_P4)
    6262#       define memory_barrier()         asm volatile ("mfence\n" ::: "memory")
    6363#       define read_barrier()           asm volatile ("lfence\n" ::: "memory")
     
    6767#               define write_barrier()  asm volatile( "" ::: "memory");
    6868#       endif
    69 #elif CONFIG_FENCES_P3
     69#elif defined(CONFIG_FENCES_P3)
    7070#       define memory_barrier()         cpuid_serialization()
    7171#       define read_barrier()           cpuid_serialization()
Note: See TracChangeset for help on using the changeset viewer.