1 #define __percpu __attribute__((noderef, address_space(3)))
   2 
   3 /* Turn v back into a normal var. */
   4 #define convert(v) \
   5        (*(typeof(v) __attribute__((address_space(0), force)) *)(&v))
   6 
   7 int main(int argc, char *argv)
   8 {
   9        unsigned int __percpu x;
  10 
  11        convert(x) = 0;
  12        return 0;
  13 }
  14 /*
  15  * check-name: Rusty Russell's typeof attribute casting.
  16  */