Skip to content

Commit 9a8a570

Browse files
committed
Merge tag 'for-3.8' of git://openrisc.net/~jonas/linux
Pull OpenRISC update from Jonas Bonn: "Trivial cleanups for OpenRISC." * tag 'for-3.8' of git://openrisc.net/~jonas/linux: openrisc: use kbuild.h instead of defining macros in asm-offset.c openrisc: Use Kbuild infrastructure for kvm_para.h
2 parents 7b07786 + 634bd40 commit 9a8a570

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

arch/openrisc/include/asm/Kbuild

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ generic-y += ipcbuf.h
3232
generic-y += irq_regs.h
3333
generic-y += kdebug.h
3434
generic-y += kmap_types.h
35+
generic-y += kvm_para.h
3536
generic-y += local.h
3637
generic-y += mman.h
3738
generic-y += module.h

arch/openrisc/include/uapi/asm/kvm_para.h

Lines changed: 0 additions & 1 deletion
This file was deleted.

arch/openrisc/kernel/asm-offsets.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,11 @@
3434
#include <linux/mm.h>
3535
#include <linux/io.h>
3636
#include <linux/thread_info.h>
37+
#include <linux/kbuild.h>
3738
#include <asm/page.h>
3839
#include <asm/pgtable.h>
3940
#include <asm/processor.h>
4041

41-
#define DEFINE(sym, val) \
42-
asm volatile("\n->" #sym " %0 " #val : : "i" (val))
43-
44-
#define BLANK() asm volatile("\n->" : : )
45-
4642
int main(void)
4743
{
4844
/* offsets into the task_struct */

0 commit comments

Comments
 (0)