Skip to content

Commit

Permalink
Merge tag 'for-3.8' of git://openrisc.net/~jonas/linux
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Linus Torvalds committed Dec 18, 2012
2 parents 7b07786 + 634bd40 commit 9a8a570
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions arch/openrisc/include/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ generic-y += ipcbuf.h
generic-y += irq_regs.h
generic-y += kdebug.h
generic-y += kmap_types.h
generic-y += kvm_para.h
generic-y += local.h
generic-y += mman.h
generic-y += module.h
Expand Down
1 change: 0 additions & 1 deletion arch/openrisc/include/uapi/asm/kvm_para.h

This file was deleted.

6 changes: 1 addition & 5 deletions arch/openrisc/kernel/asm-offsets.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,11 @@
#include <linux/mm.h>
#include <linux/io.h>
#include <linux/thread_info.h>
#include <linux/kbuild.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/processor.h>

#define DEFINE(sym, val) \
asm volatile("\n->" #sym " %0 " #val : : "i" (val))

#define BLANK() asm volatile("\n->" : : )

int main(void)
{
/* offsets into the task_struct */
Expand Down

0 comments on commit 9a8a570

Please sign in to comment.