X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Documentation%2Flocal_ops.txt;h=f4f8b1c6c8ba45ba6ec351aa92c40e798024983c;hb=c2f90e9536887fb76fb6a2aa239a70fc49beda10;hp=4269a1105b378fafcc689435a2531b9d9d4287db;hpb=37e58df30063e229ee5157f9d1c1fa1d749917c2;p=firefly-linux-kernel-4.4.55.git diff --git a/Documentation/local_ops.txt b/Documentation/local_ops.txt index 4269a1105b37..f4f8b1c6c8ba 100644 --- a/Documentation/local_ops.txt +++ b/Documentation/local_ops.txt @@ -36,7 +36,7 @@ It can be done by slightly modifying the standard atomic operations : only their UP variant must be kept. It typically means removing LOCK prefix (on i386 and x86_64) and any SMP sychronization barrier. If the architecture does not have a different behavior between SMP and UP, including asm-generic/local.h -in your archtecture's local.h is sufficient. +in your architecture's local.h is sufficient. The local_t type is defined as an opaque signed long by embedding an atomic_long_t inside a structure. This is made so a cast from this type to a