Source
324
324
return s->percpu_absolute;
325
325
}
326
326
327
327
static void write_src(void)
328
328
{
329
329
unsigned int i, k, off;
330
330
unsigned int best_idx[256];
331
331
unsigned int *markers;
332
332
char buf[KSYM_NAME_LEN];
333
333
334
-
printf("#include <asm/types.h>\n");
334
+
printf("#include <asm/bitsperlong.h>\n");
335
335
printf("#if BITS_PER_LONG == 64\n");
336
336
printf("#define PTR .quad\n");
337
337
printf("#define ALGN .balign 8\n");
338
338
printf("#else\n");
339
339
printf("#define PTR .long\n");
340
340
printf("#define ALGN .balign 4\n");
341
341
printf("#endif\n");
342
342
343
343
printf("\t.section .rodata, \"a\"\n");
344
344